validation

package
v1.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2016 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateGeneratedSelector

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

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

func ValidateJobSpec

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

func ValidateJobSpecUpdate

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

func ValidateJobStatus

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

func ValidateJobStatusUpdate

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

func ValidateJobTemplate

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

func ValidateJobTemplateSpec

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

func ValidateJobUpdate

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

func ValidateJobUpdateStatus

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

func ValidateScheduledJob

func ValidateScheduledJob(scheduledJob *batch.ScheduledJob) field.ErrorList

func ValidateScheduledJobSpec

func ValidateScheduledJobSpec(spec *batch.ScheduledJobSpec, fldPath *field.Path) field.ErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL