mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
15 lines
465 B
Go
15 lines
465 B
Go
package client
|
|
|
|
import "io"
|
|
|
|
// ImageCreateOptions holds information to create images.
|
|
type ImageCreateOptions struct {
|
|
RegistryAuth string // RegistryAuth is the base64 encoded credentials for the registry.
|
|
Platform string // Platform is the target platform of the image if it needs to be pulled from the registry.
|
|
}
|
|
|
|
// ImageCreateResult holds the response body returned by the daemon for image create.
|
|
type ImageCreateResult struct {
|
|
Body io.ReadCloser
|
|
}
|