package labels

import "github.com/containerd/containerd/labels"

Index

Constants

const LabelDistributionSource = "containerd.io/distribution.source"

LabelDistributionSource is added to content to indicate its origin. e.g., "containerd.io/distribution.source.docker.io=library/redis"

const LabelSharedNamespace = "containerd.io/namespace.shareable"

LabelSharedNamespace is added to a namespace to allow that namespaces contents to be shared.

const LabelUncompressed = "containerd.io/uncompressed"

LabelUncompressed is added to compressed layer contents. The value is digest of the uncompressed content.

Functions

func Validate

func Validate(k, v string) error

Validate a label's key and value are under 4096 bytes

Source Files

labels.go validate.go

Version
v1.7.9
Published
Nov 16, 2023
Platform
js/wasm
Imports
2 packages
Last checked
1 hour ago

Tools for package owners.