package
1.10.16
Repository: https://github.com/hyperhq/hypercli.git
Documentation: pkg.go.dev

# Functions

CreateChainID returns ID for a layerDigest slice.
LogReleaseMetadata logs a metadata array, use this to ensure consistent logging for release metadata.
NewFSMetadataStore returns an instance of a metadata store which is backed by files on disk using the provided root as the root of metadata files.
NewStoreFromGraphDriver creates a new Store instance using the provided metadata store and graph driver.
NewStoreFromOptions creates a new Store instance.
ReleaseAndLog releases the provided layer from the given layer store, logging any error and release metadata.

# Constants

DigestSHA256EmptyTar is the canonical sha256 digest of empty tar file - (1024 NULL bytes).

# Variables

EmptyLayer is a layer that corresponds to empty tar.
ErrActiveMount is used when an operation on a mount is attempted but the layer is still mounted and the operation cannot be performed.
ErrLayerDoesNotExist is used when an operation is attempted on a layer which does not exist.
ErrLayerNotRetained is used when a release is attempted on a layer which is not retained.
ErrMaxDepthExceeded is used when a layer is attempted to be created which would result in a layer depth greater than the 125 max.
ErrMountDoesNotExist is used when an operation is attempted on a mount layer which does not exist.
ErrMountNameConflict is used when a mount is attempted to be created but there is already a mount with the name used for creation.
ErrNotMounted is used when requesting an active mount but the layer is not mounted.

# Structs

Metadata holds information about a read only layer.
StoreOptions are the options used to create a new Store instance.

# Interfaces

Layer represents a read only layer.
MetadataStore represents a backend for persisting metadata about layers and providing the metadata for restoring a Store.
MetadataTransaction represents functions for setting layer metadata with a single transaction.
RWLayer represents a layer which is read and writable.
Store represents a backend for managing both read-only and read-write layers.
TarStreamer represents an object which may have its contents exported as a tar stream.

# Type aliases

ChainID is the content-addressable ID of a layer.
DiffID is the hash of an individual layer tar.
MountInit is a function to initialize a writable mount.