Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodSpec ¶
type PodSpec struct { NS string `default:""` Pvclaims []*v1.PersistentVolumeClaim `default:"-"` InlineVolumeSources []*v1.VolumeSource `default:"-"` HostNetwork bool `default:"-"` Command string `default:""` HostIPC bool `default:"false"` HostPID bool `default:"false"` RunAsNonRoot bool `default:"-"` IsPrivileged bool `default:"false"` Capability []v1.Capability `default:"-"` Ports []v1.ContainerPort `default:"-"` AllowPrivilegeEscalation bool `default:"-"` ImagePullPolicy v1.PullPolicy `default:"Always"` // contains filtered or unexported fields }
PodSpec is a struct containing all arguments for creating a pod.
func (PodSpec) MakeSecPod ¶
MakeSecPod returns a pod definition based on the namespace. The pod references the PVC's name. A slice of BASH commands can be supplied as args to be run by the pod.
func (*PodSpec) SetDefaults ¶
SetDefaults usage := https://github.com/creasty/defaults#usage
Click to show internal directories.
Click to hide internal directories.