{"modulePath":"github.com/projectatomic/libpod","version":"v1.4.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package annotations\n\n## Constants\n\n```go\nconst (\n\t// Annotations carries the received Kubelet annotations\n\tAnnotations = \"io.kubernetes.cri-o.Annotations\"\n\n\t// ContainerID is the container ID annotation\n\tContainerID = \"io.kubernetes.cri-o.ContainerID\"\n\n\t// ContainerName is the container name annotation\n\tContainerName = \"io.kubernetes.cri-o.ContainerName\"\n\n\t// ContainerType is the container type (sandbox or container) annotation\n\tContainerType = \"io.kubernetes.cri-o.ContainerType\"\n\n\t// Created is the container creation time annotation\n\tCreated = \"io.kubernetes.cri-o.Created\"\n\n\t// HostName is the container host name annotation\n\tHostName = \"io.kubernetes.cri-o.HostName\"\n\n\t// CgroupParent is the sandbox cgroup parent\n\tCgroupParent = \"io.kubernetes.cri-o.CgroupParent\"\n\n\t// IP is the container ipv4 or ipv6 address\n\tIP = \"io.kubernetes.cri-o.IP\"\n\n\t// NamespaceOptions store the options for namespaces\n\tNamespaceOptions = \"io.kubernetes.cri-o.NamespaceOptions\"\n\n\t// SeccompProfilePath is the node seccomp profile path\n\tSeccompProfilePath = \"io.kubernetes.cri-o.SeccompProfilePath\"\n\n\t// Image is the container image ID annotation\n\tImage = \"io.kubernetes.cri-o.Image\"\n\n\t// ImageName is the container image name annotation\n\tImageName = \"io.kubernetes.cri-o.ImageName\"\n\n\t// ImageRef is the container image ref annotation\n\tImageRef = \"io.kubernetes.cri-o.ImageRef\"\n\n\t// KubeName is the kubernetes name annotation\n\tKubeName = \"io.kubernetes.cri-o.KubeName\"\n\n\t// PortMappings holds the port mappings for the sandbox\n\tPortMappings = \"io.kubernetes.cri-o.PortMappings\"\n\n\t// Labels are the kubernetes labels annotation\n\tLabels = \"io.kubernetes.cri-o.Labels\"\n\n\t// LogPath is the container logging path annotation\n\tLogPath = \"io.kubernetes.cri-o.LogPath\"\n\n\t// Metadata is the container metadata annotation\n\tMetadata = \"io.kubernetes.cri-o.Metadata\"\n\n\t// Name is the pod name annotation\n\tName = \"io.kubernetes.cri-o.Name\"\n\n\t// Namespace is the pod namespace annotation\n\tNamespace = \"io.kubernetes.cri-o.Namespace\"\n\n\t// PrivilegedRuntime is the annotation for the privileged runtime path\n\tPrivilegedRuntime = \"io.kubernetes.cri-o.PrivilegedRuntime\"\n\n\t// ResolvPath is the resolver configuration path annotation\n\tResolvPath = \"io.kubernetes.cri-o.ResolvPath\"\n\n\t// HostnamePath is the path to /etc/hostname to bind mount annotation\n\tHostnamePath = \"io.kubernetes.cri-o.HostnamePath\"\n\n\t// SandboxID is the sandbox ID annotation\n\tSandboxID = \"io.kubernetes.cri-o.SandboxID\"\n\n\t// SandboxName is the sandbox name annotation\n\tSandboxName = \"io.kubernetes.cri-o.SandboxName\"\n\n\t// ShmPath is the shared memory path annotation\n\tShmPath = \"io.kubernetes.cri-o.ShmPath\"\n\n\t// MountPoint is the mount point of the container rootfs\n\tMountPoint = \"io.kubernetes.cri-o.MountPoint\"\n\n\t// RuntimeHandler is the annotation for runtime handler\n\tRuntimeHandler = \"io.kubernetes.cri-o.RuntimeHandler\"\n\n\t// TTY is the terminal path annotation\n\tTTY = \"io.kubernetes.cri-o.TTY\"\n\n\t// Stdin is the stdin annotation\n\tStdin = \"io.kubernetes.cri-o.Stdin\"\n\n\t// StdinOnce is the stdin_once annotation\n\tStdinOnce = \"io.kubernetes.cri-o.StdinOnce\"\n\n\t// Volumes is the volumes annotatoin\n\tVolumes = \"io.kubernetes.cri-o.Volumes\"\n\n\t// HostNetwork indicates whether the host network namespace is used or not\n\tHostNetwork = \"io.kubernetes.cri-o.HostNetwork\"\n\n\t// CNIResult is the JSON string representation of the Result from CNI\n\tCNIResult = \"io.kubernetes.cri-o.CNIResult\"\n)\n```\n\n```go\nconst (\n\t// ContainerTypeSandbox represents a pod sandbox container\n\tContainerTypeSandbox = \"sandbox\"\n\n\t// ContainerTypeContainer represents a container running within a pod\n\tContainerTypeContainer = \"container\"\n)\n```\nContainerType values\n\n","path":"github.com/projectatomic/libpod/pkg/annotations","name":"annotations","synopsis":"","isRedistributable":true}
