refactor labels used in cri server
remove the duplication of labels used in cri/server and move them to a common package cri/labels Signed-off-by: Akhil Mohan <makhil@vmware.com>
This commit is contained in:
@@ -27,4 +27,12 @@ const (
|
||||
PinnedImageLabelKey = criContainerdPrefix + ".pinned"
|
||||
// PinnedImageLabelValue is the label value indicating the image is pinned.
|
||||
PinnedImageLabelValue = "pinned"
|
||||
// ContainerKindLabel is a label key indicating container is sandbox container or application container
|
||||
ContainerKindLabel = criContainerdPrefix + ".kind"
|
||||
// ContainerKindSandbox is a label value indicating container is sandbox container
|
||||
ContainerKindSandbox = "sandbox"
|
||||
// ContainerKindContainer is a label value indicating container is application container
|
||||
ContainerKindContainer = "container"
|
||||
// ContainerMetadataExtension is an extension name that identify metadata of container in CreateContainerRequest
|
||||
ContainerMetadataExtension = criContainerdPrefix + ".container.metadata"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user