package
0.0.0-20240818021530-f5e744f7964a
Repository: https://github.com/kaisenlinux/docker.io.git
Documentation: pkg.go.dev
# Functions
CheckOS checks if the given OS matches the host's platform, and returns an error otherwise.
Clone clones an image and changes ID.
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.
NewImage creates a new image with the given ID.
NewImageStore returns new store object for given set of layer stores.
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.
Details provides additional image data.
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.
History stores build commands that were used to create an image.
ID is the content-addressable ID of an image.