Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { Name string Image string Command []string Args []string Env map[string]string Mounts map[string]string Privileges Privileges Annotations map[string]string }
Container represents a container
type Pod ¶
type Pod struct { Name string Containers []Container Ports map[int]int Privileges Privileges }
Pod represents a pod
type Privileges ¶
type Privileges int
Privileges represents the privileges that a pod sandbox and a container has
const ( // PrivilegesUnprivileged represents a pod sandbox or a container // with no special privileges PrivilegesUnprivileged Privileges = 0 // PrivilegesPrivileged represents a pod sandbox or a container with // privileged access PrivilegesPrivileged Privileges = 1 // PrivilegesNetworkPrivileged represents a pod sandbox or a // privileged container with node network. Implies // PrivilegesPrivileged. PrivilegesNetworkPrivileged Privileges = 3 )
Click to show internal directories.
Click to hide internal directories.