kubernetes: k8s.io/kubernetes/pkg/apis/batch/validation Index | Files

package validation

import "k8s.io/kubernetes/pkg/apis/batch/validation"


Package Files


func ValidateCronJob Uses

func ValidateCronJob(scheduledJob *batch.CronJob) field.ErrorList

func ValidateCronJobSpec Uses

func ValidateCronJobSpec(spec *batch.CronJobSpec, fldPath *field.Path) field.ErrorList

func ValidateCronJobUpdate Uses

func ValidateCronJobUpdate(job, oldJob *batch.CronJob) field.ErrorList

func ValidateGeneratedSelector Uses

func ValidateGeneratedSelector(obj *batch.Job) field.ErrorList

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 Uses

func ValidateJob(job *batch.Job) field.ErrorList

func ValidateJobSpec Uses

func ValidateJobSpec(spec *batch.JobSpec, fldPath *field.Path) field.ErrorList

func ValidateJobSpecUpdate Uses

func ValidateJobSpecUpdate(spec, oldSpec batch.JobSpec, fldPath *field.Path) field.ErrorList

func ValidateJobStatus Uses

func ValidateJobStatus(status *batch.JobStatus, fldPath *field.Path) field.ErrorList

func ValidateJobStatusUpdate Uses

func ValidateJobStatusUpdate(status, oldStatus batch.JobStatus) field.ErrorList

func ValidateJobTemplate Uses

func ValidateJobTemplate(job *batch.JobTemplate) field.ErrorList

func ValidateJobTemplateSpec Uses

func ValidateJobTemplateSpec(spec *batch.JobTemplateSpec, fldPath *field.Path) field.ErrorList

func ValidateJobUpdate Uses

func ValidateJobUpdate(job, oldJob *batch.Job) field.ErrorList

func ValidateJobUpdateStatus Uses

func ValidateJobUpdateStatus(job, oldJob *batch.Job) field.ErrorList

Package validation imports 9 packages (graph) and is imported by 54 packages. Updated 2019-05-09. Refresh now. Tools for package owners.