Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetImageOpts ¶
GetImageOpts holds parameters to retrieve image information from the backend.
type ImageInspectOpts ¶
ImageInspectOpts holds parameters to inspect an image.
type InspectData ¶
type InspectData struct {
imagetypes.InspectResponse
// Parent is the ID of the parent image.
//
// Depending on how the image was created, this field may be empty and
// is only set for images that were built/created locally. This field
// is omitted if the image was pulled from an image registry.
//
// This field is deprecated with the legacy builder, but returned by the API if present.
Parent string `json:",omitempty"`
// DockerVersion is the version of Docker that was used to build the image.
//
// Depending on how the image was created, this field may be omitted.
//
// This field is deprecated with the legacy builder, but returned by the API if present.
DockerVersion string `json:",omitempty"`
// Container is the ID of the container that was used to create the image.
//
// Depending on how the image was created, this field may be empty.
//
// This field is removed in API v1.45, but used for API <= v1.44 responses.
Container string
// ContainerConfig is an optional field containing the configuration of the
// container that was last committed when creating the image.
//
// Previous versions of Docker builder used this field to store build cache,
// and it is not in active use anymore.
//
// This field is removed in API v1.45, but used for API <= v1.44 responses.
ContainerConfig *container.Config
// GraphDriverLegacy is used for API versions < v1.52, which included the
// name of the snapshotter the GraphDriver field.
GraphDriverLegacy *storage.DriverData
}
type ListOptions ¶
type PullOptions ¶
type PushOptions ¶
Click to show internal directories.
Click to hide internal directories.