# Functions
DestinationDirectory returns the path of the output directory.
FetchImageBlob fetches the image blob.
FetchImageManifest fetches the image manifest file.
FetchToken fetches the OAuth token from OAuth endpoint.
InitializeLayerCache will create a new layer cache or rehydrate an existing layer cache from the portlayer k/v store.
LayerCache returns a reference to the layer cache.
LearnAuthURL returns the URL of the OAuth endpoint.
LearnRegistryURL returns the registry URL after making sure that it responds to queries.
ListImages lists the images from given image store.
NewImageC returns a new instance of ImageC.
NewLayerDownloader creates and returns a new LayerDownloadManager.
PingPortLayer calls the _ping endpoint of the portlayer.
UpdateRepositoryCache will update the repository cache that resides in the docker persona.
WriteImage writes the image to given image store.
# Constants
attribute update actions.
DefaultDestination specifies the default directory to use.
DefaultHTTPTimeout specifies the default HTTP timeout.
DefaultLogfile specifies the default log file name.
DefaultPortLayerHost specifies the default port layer server.
DigestSHA256EmptyTar is the canonical sha256 digest of empty tar file - (1024 NULL bytes).
# Structs
FSLayer is a container struct for BlobSums defined in an image manifest.
History is a container struct for V1Compatibility defined in an image manifest.
ImageC is responsible for pulling docker images from a repository.
ImageWithMeta wraps the models.Image with some additional metadata.
LayerDownloader keeps track of what layers are currently being downloaded.
LayerNotFoundError is returned when a layer does not exist in the cache.
LCache is an in-memory cache to account for existing image layers It is used primarily by imagec when coordinating layer downloads The cache is initially hydrated by way of the image cache at startup.
Manifest represents the Docker Manifest file.
Options contain all options for a single instance of imagec.