forked from kata-containers/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
annotations.go
25 lines (19 loc) · 818 Bytes
/
annotations.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2017 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
//
package dockershim
const (
// Copied from k8s.io/pkg/kubelet/dockershim/docker_service.go,
// used to identify whether a docker container is a sandbox or
// a regular container, will be removed after defining those as
// public fields in dockershim.
// ContainerTypeLabelKey is the container type (podsandbox or container) annotation
ContainerTypeLabelKey = "io.kubernetes.docker.type"
// ContainerTypeLabelSandbox represents a sandbox sandbox container
ContainerTypeLabelSandbox = "podsandbox"
// ContainerTypeLabelContainer represents a container running within a sandbox
ContainerTypeLabelContainer = "container"
// SandboxIDLabelKey is the sandbox ID annotation
SandboxIDLabelKey = "io.kubernetes.sandbox.id"
)