Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TargetRefLabel is a label which contains image reference and will be passed // to snapshotters. TargetRefLabel = "containerd.io/snapshot/cri.image-ref" // TargetManifestDigestLabel is a label which contains manifest digest and will be passed // to snapshotters. TargetManifestDigestLabel = "containerd.io/snapshot/cri.manifest-digest" // TargetLayerDigestLabel is a label which contains layer digest and will be passed // to snapshotters. TargetLayerDigestLabel = "containerd.io/snapshot/cri.layer-digest" // TargetImageLayersLabel is a label which contains layer digests contained in // the target image and will be passed to snapshotters for preparing layers in // parallel. Skipping some layers is allowed and only affects performance. TargetImageLayersLabel = "containerd.io/snapshot/cri.image-layers" )
NOTE: The following labels contain "cri" prefix but they are not specific to CRI and can be used by non-CRI clients as well for enabling remote snapshotters. We need to retain that string for keeping compatibility with snapshotter implementations.
Variables ¶
This section is empty.
Functions ¶
func AppendInfoHandlerWrapper ¶
AppendInfoHandlerWrapper makes a handler which appends some basic information of images like digests for manifest and their child layers as annotations during unpack. These annotations will be passed to snapshotters as labels. These labels will be used mainly by remote snapshotters for querying image contents from the remote location.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.