Documentation ¶
Index ¶
- func DeleteNamespace(ctx context.Context, c client.Client, ns *corev1.Namespace) error
- func ExpectJobsDeletionTimestamp(ctx context.Context, c client.Client, js *jobset.JobSet, numJobs int, ...)
- func JobSetActive(ctx context.Context, k8sClient client.Client, js *jobset.JobSet, ...)
- func JobSetCompleted(ctx context.Context, k8sClient client.Client, js *jobset.JobSet, ...)
- func JobSetDeleted(ctx context.Context, k8sClient client.Client, js *jobset.JobSet, ...)
- func JobSetFailed(ctx context.Context, k8sClient client.Client, js *jobset.JobSet, ...)
- func JobSetResumed(ctx context.Context, k8sClient client.Client, js *jobset.JobSet, ...)
- func JobSetStartupPolicyComplete(ctx context.Context, k8sClient client.Client, js *jobset.JobSet, ...)
- func JobSetStartupPolicyNotFinished(ctx context.Context, k8sClient client.Client, js *jobset.JobSet, ...)
- func JobSetSuspended(ctx context.Context, k8sClient client.Client, js *jobset.JobSet, ...)
- func JobsFromReplicatedJob(jobList *batchv1.JobList, rjob string) []*batchv1.Job
- func NumExpectedJobs(js *jobset.JobSet) int
- func NumJobs(ctx context.Context, k8sClient client.Client, js *jobset.JobSet) (int, error)
- func NumJobsByRestartAttempt(ctx context.Context, k8sClient client.Client, js *jobset.JobSet) (map[int]int, error)
- func RemoveJobSetFinalizer(ctx context.Context, k8sClient client.Client, js *jobset.JobSet, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteNamespace ¶ added in v0.2.0
DeleteNamespace deletes all objects the tests typically create in the namespace.
func ExpectJobsDeletionTimestamp ¶ added in v0.5.0
func ExpectJobsDeletionTimestamp(ctx context.Context, c client.Client, js *jobset.JobSet, numJobs int, timeout time.Duration)
ExpectJobsDeletionTimestamp checks that the jobs' deletion timestamp is set or not set for the provided number of jobs.
func JobSetActive ¶ added in v0.1.3
func JobSetCompleted ¶ added in v0.1.3
func JobSetDeleted ¶ added in v0.6.0
func JobSetFailed ¶ added in v0.1.3
func JobSetResumed ¶ added in v0.1.3
func JobSetStartupPolicyComplete ¶ added in v0.4.0
func JobSetStartupPolicyNotFinished ¶ added in v0.4.0
func JobSetSuspended ¶ added in v0.1.3
func JobsFromReplicatedJob ¶ added in v0.2.0
func NumExpectedJobs ¶
func NumJobsByRestartAttempt ¶ added in v0.7.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.