explode

package
v0.0.0-...-f6d17ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2016 License: Apache-2.0 Imports: 24 Imported by: 0

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL