Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Transport is the entry point for all of this logic. Transport ExplodeTransport = &explodeTransport{} // ErrInvalidReference is returned when ParseReference() is passed an // empty reference. ErrInvalidReference = errors.New("invalid reference") // ErrManifestDigestMismatch is returned when GetTargetManifest() is // given a digest-based name that doesn't match the manifest we want to // supply. ErrManifestDigestMismatch = errors.New("manifest digest mismatch") // DefaultPath is the default location for storing exploded images. DefaultPath = "/var/lib/containers/exploded" // MetadataFile is the name of the file in the image's directory which // we use to keep track of the root filesystem's BlobInfo and info for // other blobs, since that list can differ from the one in the original // manifest. MetadataFile = "metadata" // ManifestFile is the name of the file in the image's directory which // we use for storing a manifest that's being copied in. We'll use // parts of it to compute a manifest for the image when we're asked for // one. ManifestFile = "manifest" // SignatureFile is the name of the file in the image's directory which // we use for storing signatures that are being copied in. Right now // we don't do much else with them. SignaturesFile = "signatures" // TagsFile is the name of a file in the image's directory's parent // directory. It holds a JSON-encoded map from tag names to directory // names. TagsFile = "tags" // RootSubdirectory is the name of the subdirectory of an image's // directory that we use for storing the composite root filesystem for // the image. RootSubdirectory = "rootfs" // BlobSubdirectory is the name of the subdirectory of an image's // directory that we use for storing blobs that are part of the image // but which aren't filesystem layers. BlobSubdirectory = "blobs" )
Functions ¶
This section is empty.
Types ¶
type ExplodeTransport ¶
type ExplodeTransport interface { types.ImageTransport ParseReferencePath(directory, reference string) (types.ImageReference, error) }
Click to show internal directories.
Click to hide internal directories.