Versions in this module Expand all Collapse all v1 v1.16.3 Nov 9, 2022 Changes in this version + const JobSelectorKey + const JobTimeout + func CreateJob(c clientset.Interface, ns string, job *batchv1.Job) (*batchv1.Job, error) + func DeleteJob(c clientset.Interface, ns, name string) error + func EnsureAllJobPodsRunning(c clientset.Interface, ns, jobName string, parallelism int32) error + func FinishTime(finishedJob *batchv1.Job) metav1.Time + func GetJob(c clientset.Interface, ns, name string) (*batchv1.Job, error) + func GetJobPods(c clientset.Interface, ns, jobName string) (*v1.PodList, error) + func NewTestJob(behavior, name string, rPol v1.RestartPolicy, parallelism, completions int32, ...) *batchv1.Job + func UpdateJob(c clientset.Interface, ns string, job *batchv1.Job) (*batchv1.Job, error) + func UpdateJobWithRetries(c clientset.Interface, namespace, name string, applyUpdate func(*batchv1.Job)) (job *batchv1.Job, err error) + func WaitForAllJobPodsGone(c clientset.Interface, ns, jobName string) error + func WaitForAllJobPodsRunning(c clientset.Interface, ns, jobName string, parallelism int32) error + func WaitForJobComplete(c clientset.Interface, ns, jobName string, completions int32) error + func WaitForJobDeleting(c clientset.Interface, ns, jobName string) error + func WaitForJobFailure(c clientset.Interface, ns, jobName string, timeout time.Duration, ...) error + func WaitForJobFinish(c clientset.Interface, ns, jobName string) error + func WaitForJobGone(c clientset.Interface, ns, jobName string, timeout time.Duration) error