utils

package
v0.0.0-...-f651028 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsurePVCVolume

func EnsurePVCVolume(job *v1.Job, name string, volume v1alpha1.VolumeRef)

func EnsureVolumeMountIf

func EnsureVolumeMountIf(enabled bool, container *corev1.Container, volumeName, podMountRoot, subPath string)

func GetOwner

func GetOwner(obj metav1.Object) types.NamespacedName

func HasVolumeMount

func HasVolumeMount(container corev1.Container, name string) bool

func MergeArgsAndReplaceVariables

func MergeArgsAndReplaceVariables(variables map[string]string, argsList ...[]string) (merged []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL