Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildKubeJob ¶
func BuildKubeJob(props KubeJobProps) batchv1.Job
BuildKubeJob builds a Kubernetes job with properties defined by source argument
Types ¶
type KubeJobProps ¶
type KubeJobProps interface { JobName() string JobLabels() map[string]string JobAnnotations() map[string]string PodLabels() map[string]string PodAnnotations() map[string]string PodTolerations() []corev1.Toleration PodAffinity() *corev1.Affinity PodSecurityContext() *corev1.PodSecurityContext PodVolumes() []corev1.Volume PodInitContainers() []corev1.Container PodContainers() []corev1.Container }
KubeJobProps defines properties to be used with the BuildKubeJob function.
Click to show internal directories.
Click to hide internal directories.