Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PodBuilder ¶
type PodBuilder interface { metadata.MetadataBuilder PodSpecBuilder BuildPod() *corev1.Pod }
PodBuilder represents the configuration of a pod nolint:unused
type PodSpecBuilder ¶
type PodSpecBuilder interface { SetVolumes(vs []corev1.Volume) PodSpecBuilder UpdateVolumeByName(v *corev1.Volume) PodSpecBuilder AppendVolumes(vs []corev1.Volume) PodSpecBuilder SetInitContainers(cs []corev1.Container) PodSpecBuilder UpdateInitContainerByName(c *corev1.Container) PodSpecBuilder FindInitContainerByName(name string) container.ContainerBuilder AppendInitContainers(cs []corev1.Container) PodSpecBuilder SetContainers(cs []corev1.Container) PodSpecBuilder UpdateContainerByName(c *corev1.Container) PodSpecBuilder FindContainerByName(name string) container.ContainerBuilder AppendContainers(cs []corev1.Container) PodSpecBuilder SetTerminationGracePeriodSeconds(secs *int64) PodSpecBuilder SetImagePullSecrets(secs []corev1.LocalObjectReference) PodSpecBuilder BuildPodSpec() *corev1.PodSpec }
PodSpecBuilder build PodSpec
func NewPodSpecBuilder ¶
func NewPodSpecBuilder() PodSpecBuilder
NewPodSpecBuilder returns a PodSpecBuilder
Click to show internal directories.
Click to hide internal directories.