package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/mirantis/cli.git
Documentation: pkg.go.dev
# Functions
IDFromDigest creates an ID from a digest.
NewChildImage creates a new Image as a child of this image.
NewFromJSON creates an Image configuration from json.
NewFSStoreBackend returns new filesystem based backend for image.Store.
NewHistory creates a new history struct from arguments, and sets the created time to the current time in UTC.
NewImageStore returns new store object for given layer store.
NewRootFS returns empty RootFS struct.
# Constants
TypeLayers is used for RootFS.Type for filesystems organized into layers.
# Structs
ChildConfig is the configuration to apply to an Image to create a new Child image.
History stores build commands that were used to create an image.
Image stores the image configuration.
RootFS describes images root filesystem This is currently a placeholder that only supports layers.
V1Image stores the V1 image configuration.
# Interfaces
Exporter provides interface for loading and saving images.
LayerGetReleaser is a minimal interface for getting and releasing images.
Store is an interface for creating and accessing images.
StoreBackend provides interface for image.Store persistence.
# Type aliases
DigestWalkFunc is function called by StoreBackend.Walk.
ID is the content-addressable ID of an image.