label

package
v0.3.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

View Source
const (
	Signature = "containerd.io/snapshot/nydus-signature"

	CRIImageRef    = "containerd.io/snapshot/cri.image-ref"
	CRIImageLayers = "containerd.io/snapshot/cri.image-layers"
	CRILayerDigest = "containerd.io/snapshot/cri.layer-digest"

	ImagePullSecret   = "containerd.io/snapshot/pullsecret"
	ImagePullUsername = "containerd.io/snapshot/pullusername"

	TargetSnapshotLabel       = "containerd.io/snapshot.ref"
	TargetManifestDigestLabel = "containerd.io/snapshot/cri.manifest-digest"
	StargzLayer               = "containerd.io/snapshot/stargz"

	NydusMetaLayer = "containerd.io/snapshot/nydus-bootstrap"
	NydusDataLayer = "containerd.io/snapshot/nydus-blob"

	// volatileOpt is a key of an optional lablel to each snapshot.
	// If this optional label of a snapshot is specified, when mounted to rootdir
	// this snapshot will include volatile option
	VolatileOpt = "containerd.io/snapshot/overlay.volatile"
)

Variables

This section is empty.

Functions

func AppendLabelsHandlerWrapper added in v0.3.0

func AppendLabelsHandlerWrapper(ref string) func(f images.Handler) images.Handler

AppendLabelsHandlerWrapper returns a function which can wraps a handler by appending image's basic informations to each layer descriptor as annotations during unpack. These annotations will be passed to this nydus snapshotter as labels.

Types

This section is empty.

Jump to

Keyboard shortcuts

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