package validation
import "k8s.io/kubernetes/pkg/apis/batch/validation"
Index ¶
- func ValidateGeneratedSelector(obj *batch.Job) 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 ValidateJobStatus(status *batch.JobStatus, fldPath *field.Path) field.ErrorList
- func ValidateJobStatusUpdate(status, oldStatus batch.JobStatus) field.ErrorList
- func ValidateJobTemplate(job *batch.JobTemplate) field.ErrorList
- func ValidateJobTemplateSpec(spec *batch.JobTemplateSpec, fldPath *field.Path) field.ErrorList
- func ValidateJobUpdate(job, oldJob *batch.Job) field.ErrorList
- func ValidateJobUpdateStatus(job, oldJob *batch.Job) field.ErrorList
- func ValidateScheduledJob(scheduledJob *batch.ScheduledJob) field.ErrorList
- func ValidateScheduledJobSpec(spec *batch.ScheduledJobSpec, fldPath *field.Path) field.ErrorList
Functions ¶
func ValidateGeneratedSelector ¶
TODO: generalize for other controller objects that will follow the same pattern, such as ReplicaSet and DaemonSet, and move to new location. Replace batch.Job with an interface.
ValidateGeneratedSelector validates that the generated selector on a controller object match the controller object metadata, and the labels on the pod template are as generated.
func ValidateJob ¶
func ValidateJobSpec ¶
func ValidateJobSpecUpdate ¶
func ValidateJobStatus ¶
func ValidateJobStatusUpdate ¶
func ValidateJobTemplate ¶
func ValidateJobTemplate(job *batch.JobTemplate) field.ErrorList
func ValidateJobTemplateSpec ¶
func ValidateJobUpdate ¶
func ValidateJobUpdateStatus ¶
func ValidateScheduledJob ¶
func ValidateScheduledJob(scheduledJob *batch.ScheduledJob) field.ErrorList
func ValidateScheduledJobSpec ¶
Source Files ¶
validation.go
- Version
- v1.4.0-beta.8
- Published
- Sep 18, 2016
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 1 minute ago –
Tools for package owners.