Documentation ¶
Index ¶
- func FindContainerByName(cnrs []corev1.Container, name string) *corev1.Container
- func FindVolumeByName(vols []corev1.Volume, name string) *corev1.Volume
- func FindVolumeMountByName(mnts []corev1.VolumeMount, name string) *corev1.VolumeMount
- func JobSuccessfullyCompleted(job *batchv1.Job) bool
- func MountPropagationModeRef(mountPropagationMode corev1.MountPropagationMode) *corev1.MountPropagationMode
- type VolumeBuilder
- func (v *VolumeBuilder) WithEmptyDir(emptyDir corev1.EmptyDirVolumeSource) *VolumeBuilder
- func (v *VolumeBuilder) WithHostPath(hostPath corev1.HostPathVolumeSource) *VolumeBuilder
- func (v *VolumeBuilder) WithHostPathFromPath(path string) *VolumeBuilder
- func (v *VolumeBuilder) WithName(name string) *VolumeBuilder
- func (v *VolumeBuilder) WithVolumeSource(volumeSource corev1.VolumeSource) *VolumeBuilder
- type VolumeMountBuilder
- func (v *VolumeMountBuilder) WithMountPath(path string) *VolumeMountBuilder
- func (v *VolumeMountBuilder) WithMountPropagation(mountPropagation corev1.MountPropagationMode) *VolumeMountBuilder
- func (v *VolumeMountBuilder) WithName(name string) *VolumeMountBuilder
- func (v *VolumeMountBuilder) WithReadOnly(readonly bool) *VolumeMountBuilder
- func (v *VolumeMountBuilder) WithSubPath(path string) *VolumeMountBuilder
- func (v *VolumeMountBuilder) WithSubPathExpr(expr string) *VolumeMountBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindContainerByName ¶
func FindVolumeMountByName ¶
func FindVolumeMountByName(mnts []corev1.VolumeMount, name string) *corev1.VolumeMount
func MountPropagationModeRef ¶
func MountPropagationModeRef(mountPropagationMode corev1.MountPropagationMode) *corev1.MountPropagationMode
MountPropagationModeRef .
Types ¶
type VolumeBuilder ¶
VolumeBuilder .
func (*VolumeBuilder) WithEmptyDir ¶
func (v *VolumeBuilder) WithEmptyDir(emptyDir corev1.EmptyDirVolumeSource) *VolumeBuilder
WithEmptyDir .
func (*VolumeBuilder) WithHostPath ¶
func (v *VolumeBuilder) WithHostPath(hostPath corev1.HostPathVolumeSource) *VolumeBuilder
WithHostPath .
func (*VolumeBuilder) WithHostPathFromPath ¶
func (v *VolumeBuilder) WithHostPathFromPath(path string) *VolumeBuilder
WithHostPathFromPath .
func (*VolumeBuilder) WithName ¶
func (v *VolumeBuilder) WithName(name string) *VolumeBuilder
WithName .
func (*VolumeBuilder) WithVolumeSource ¶
func (v *VolumeBuilder) WithVolumeSource(volumeSource corev1.VolumeSource) *VolumeBuilder
WithVolumeSource .
type VolumeMountBuilder ¶
type VolumeMountBuilder struct {
corev1.VolumeMount
}
VolumeMountBuilder .
func NewVolumeMountBuilder ¶
func NewVolumeMountBuilder() *VolumeMountBuilder
NewVolumeMountBuilder .
func (*VolumeMountBuilder) WithMountPath ¶
func (v *VolumeMountBuilder) WithMountPath(path string) *VolumeMountBuilder
WithMountPath .
func (*VolumeMountBuilder) WithMountPropagation ¶
func (v *VolumeMountBuilder) WithMountPropagation(mountPropagation corev1.MountPropagationMode) *VolumeMountBuilder
WithMountPropagation .
func (*VolumeMountBuilder) WithName ¶
func (v *VolumeMountBuilder) WithName(name string) *VolumeMountBuilder
WithName .
func (*VolumeMountBuilder) WithReadOnly ¶
func (v *VolumeMountBuilder) WithReadOnly(readonly bool) *VolumeMountBuilder
WithReadOnly .
func (*VolumeMountBuilder) WithSubPath ¶
func (v *VolumeMountBuilder) WithSubPath(path string) *VolumeMountBuilder
WithSubPath .
func (*VolumeMountBuilder) WithSubPathExpr ¶
func (v *VolumeMountBuilder) WithSubPathExpr(expr string) *VolumeMountBuilder
WithSubPathExpr .
Click to show internal directories.
Click to hide internal directories.