labels: Add LabelDistributionSource
Add a public const for "containerd.io/distribution.source" in `labels` package and replace hardcoded usages. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
@@ -23,3 +23,7 @@ const LabelUncompressed = "containerd.io/uncompressed"
|
||||
// LabelSharedNamespace is added to a namespace to allow that namespaces
|
||||
// contents to be shared.
|
||||
const LabelSharedNamespace = "containerd.io/namespace.shareable"
|
||||
|
||||
// LabelDistributionSource is added to content to indicate its origin.
|
||||
// e.g., "containerd.io/distribution.source.docker.io=library/redis"
|
||||
const LabelDistributionSource = "containerd.io/distribution.source"
|
||||
|
||||
Reference in New Issue
Block a user