Documentation
¶
Index ¶
- func IsConditionTrue(list []batch.JobCondition, cType batch.JobConditionType) bool
- func IsJobComplete(job *batch.Job) bool
- func IsJobFailed(job *batch.Job) bool
- func IsJobFinished(job *batch.Job) bool
- func ValidateCronJobCreate(cronJob *batch.CronJob) field.ErrorList
- func ValidateCronJobUpdate(job, oldJob *batch.CronJob) field.ErrorList
- func ValidateJob(job *batch.Job) field.ErrorList
- func ValidateJobSpec(spec *batch.JobSpec, fldPath *field.Path) field.ErrorList
- func ValidateJobSpecUpdate(spec, oldSpec batch.JobSpec, fldPath *field.Path) field.ErrorList
- func ValidateJobStatusUpdate(job, oldJob *batch.Job) field.ErrorList
- func ValidateJobUpdate(job, oldJob *batch.Job) field.ErrorList
- func ValidateJobUpdateStatus(job, oldJob *batch.Job) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsConditionTrue ¶
func IsConditionTrue(list []batch.JobCondition, cType batch.JobConditionType) bool
func IsJobComplete ¶
func IsJobFailed ¶
func IsJobFinished ¶
func ValidateCronJobCreate ¶
ValidateCronJobCreate validates a CronJob on creation and returns an ErrorList with any errors.
func ValidateCronJobUpdate ¶
ValidateCronJobUpdate validates an update to a CronJob and returns an ErrorList with any errors.
func ValidateJob ¶
ValidateJob validates a Job and returns an ErrorList with any errors.
func ValidateJobSpec ¶
ValidateJobSpec validates a JobSpec and returns an ErrorList with any errors.
func ValidateJobSpecUpdate ¶
ValidateJobSpecUpdate validates an update to a JobSpec and returns an ErrorList with any errors.
func ValidateJobStatusUpdate ¶
ValidateJobStatusUpdate validates an update to a JobStatus and returns an ErrorList with any errors.
func ValidateJobUpdate ¶
ValidateJobUpdate validates an update to a Job and returns an ErrorList with any errors.
Types ¶
This section is empty.