package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/mirantis/cli.git
Documentation: pkg.go.dev
# Functions
NewImageConfigStoreFromStore returns an ImageConfigStore backed by an image.Store for container images.
NewLayerProviderFromStore returns a layer provider backed by an instance of LayerStore.
NewPusher creates a new Pusher interface that will push to either a v1 or v2 registry.
NewV2Repository returns a repository (v2 only).
Pull initiates a pull operation.
Push initiates a push operation on ref.
TranslatePullError is used to convert an error from a registry pull operation to an error representing the entire pull operation.
ValidateRepoName validates the name of a repository.
# Variables
ImageTypes represents the schema2 config types for images.
PluginTypes represents the schema2 config types for plugins.
# Structs
Config stores configuration for communicating with a registry.
ErrNoSupport is an error type used for errors indicating that an operation is not supported.
ImageConfigPullError is an error pulling the image config blob (only applies to schema2).
ImagePullConfig stores pull configuration.
ImagePushConfig stores push configuration.
# Interfaces
ImageConfigStore handles storing and getting image configurations by digest.
Puller is an interface that abstracts pulling for different API versions.
Pusher is an interface that abstracts pushing for different API versions.
PushLayer is a pushable layer with metadata about the layer and access to the content of the layer.
PushLayerProvider provides layers to be pushed by ChainID.
RootFSDownloadManager handles downloading of the rootfs.