package
1.4.0-beta.2
Repository: https://github.com/crisesw/containerd.git
Documentation: pkg.go.dev

# Packages

Package archive provides a Docker and OCI compatible importer.

# Functions

Check returns nil if the all components of an image are available in the provider for the specified platform.
Children returns the immediate children of content described by the descriptor.
ChildrenHandler decodes well-known manifest types and returns their children.
Config resolves the image configuration descriptor using a content provided to resolve child resources on the image.
DiffCompression returns the compression as defined by the layer diff media type.
Dispatch runs the provided handler for content specified by the descriptors.
FilterPlatforms is a handler wrapper which limits the descriptors returned based on matching the specified platform matcher.
Handlers returns a handler that will run the handlers in sequence.
IsKnownConfig returns true if the media type is a known config type.
IsLayerTypes returns true if the media type is a layer.
LimitManifests is a handler wrapper which filters the manifest descriptors returned using the provided platform.
Manifest resolves a manifest from the image for the given platform.
Platforms returns one or more platforms supported by the image.
RootFS returns the unpacked diffids that make up and images rootfs.
SetChildrenLabels is a handler wrapper which sets labels for the content on the children returned by the handler and passes through the children.
SynchronousDelete is used to indicate that an image deletion and removal of the image resources should occur synchronously before returning a result.
Walk the resources of an image and call the handler for each.

# Constants

AnnotationImageName is an annotation on a Descriptor in an index.json containing the `Name` value as used by an `Image` struct.
Checkpoint/Restore Media Types.
mediatype definitions for image components handled in containerd.
mediatype definitions for image components handled in containerd.
mediatype definitions for image components handled in containerd.
mediatype definitions for image components handled in containerd.
mediatype definitions for image components handled in containerd.
mediatype definitions for image components handled in containerd.
mediatype definitions for image components handled in containerd.
Legacy Docker schema1 manifest.
mediatype definitions for image components handled in containerd.
mediatype definitions for image components handled in containerd.
mediatype definitions for image components handled in containerd.
mediatype definitions for image components handled in containerd.
mediatype definitions for image components handled in containerd.
mediatype definitions for image components handled in containerd.
mediatype definitions for image components handled in containerd.

# Variables

ErrSkipDesc is used to skip processing of a descriptor and its descendants.
ErrStopHandler is used to signify that the descriptor has been handled and should not be handled further.

# Structs

DeleteOptions provide options on image delete.
Image provides the model for how containerd views container images.

# Interfaces

Exporter is the interface for image exporter.
Handler handles image manifests.
Importer is the interface for image importer.
Store and interact with images.

# Type aliases

DeleteOpt allows configuring a delete operation.
HandlerFunc function implementing the Handler interface.