mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-26 10:34:24 +01:00
When imported, the vc files carried in the 'full style' apache license text, but the standard for kata is to use SPDX style. Update the relevant files to SPDX. Fixes: #227 Signed-off-by: Graham whaley <graham.whaley@intel.com>
26 lines
818 B
Go
26 lines
818 B
Go
// 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"
|
|
)
|