package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Functions

CreateJob uses c to create job in namespace ns.
GetAllRunningJobPods returns a list of all running Pods belonging to a Job.
GetJob uses c to get the Job in namespace ns named name.
GetJobPods returns a list of Pods belonging to a Job.
NewTestJob returns a Job which does one of several testing behaviors.
NewTestJobOnNode is similar to NewTestJob but supports specifying a Node on which the Job's Pods will run.
UpdateJob uses c to update a job in namespace ns.
WaitForAllJobPodsGone waits for all pods for the Job named jobName in namespace ns to be deleted.
WaitForJobComplete uses c to wait for completions to complete for the Job jobName in namespace ns.
WaitForJobCondition waits for the specified Job to have the expected condition with the specific reason.
WaitForJobFailed uses c to wait for the Job jobName in namespace ns to fail.
WaitForJobFinish uses c to wait for the Job jobName in namespace ns to finish (either Failed or Complete).
WaitForJobFinishWithTimeout uses c to wait for the Job jobName in namespace ns to finish (either Failed or Complete).
WaitForJobGone uses c to wait for up to timeout for the Job named jobName in namespace ns to be removed.
WaitForJobPodsRunning wait for all pods for the Job named JobName in namespace ns to become Running.
WaitForJobPodsRunningWithTimeout wait for all pods for the Job named JobName in namespace ns to become Running.
WaitForJobPodsSucceeded wait for all pods for the Job named JobName in namespace ns to become Succeeded.
WaitForJobReady waits for particular value of the Job .status.ready field.
WaitForJobState waits for a job to be matched to the given state function.
WaitForJobSuspend uses c to wait for suspend condition for the Job jobName in namespace ns.

# Constants

JobSelectorKey is a job selector name.
JobTimeout is how long to wait for a job to finish.

# Type aliases

JobState is used to verify if Job matches a particular condition.