File: label.go

package info (click to toggle)
singularity-container 4.1.5%2Bds4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 43,876 kB
  • sloc: asm: 14,840; sh: 3,190; ansic: 1,751; awk: 414; makefile: 413; python: 99
file content (16 lines) | stat: -rw-r--r-- 803 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package label

// Pre-defined label keys
const (
	prefix = "org.mobyproject.buildkit.worker."

	Executor            = prefix + "executor"    // "oci" or "containerd"
	Snapshotter         = prefix + "snapshotter" // containerd snapshotter name ("overlay", "native", ...)
	Hostname            = prefix + "hostname"
	Network             = prefix + "network" // "cni" or "host"
	ApparmorProfile     = prefix + "apparmor.profile"
	SELinuxEnabled      = prefix + "selinux.enabled"      // "true" or "false"
	OCIProcessMode      = prefix + "oci.process-mode"     // OCI worker: process mode ("sandbox", "no-sandbox")
	ContainerdUUID      = prefix + "containerd.uuid"      // containerd worker: containerd UUID
	ContainerdNamespace = prefix + "containerd.namespace" // containerd worker: containerd namespace
)