Create a snapshot from a Docker image (async build).
func (
r *SandboxSnapshotService) New(ctx context.Context,
body SandboxSnapshotNewParams,
opts ...option.RequestOption) (res *SnapshotResponse,
err error
)Create a snapshot from a Docker image (async build). Names use lowercase registry-style components separated by slashes, up to 255 characters. The system/ namespace is read-only.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
body* | SandboxSnapshotNewParams | |
opts* | ...option.RequestOption |