validation

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 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 ValidatePetSet

func ValidatePetSet(petSet *apps.PetSet) field.ErrorList

ValidatePetSet validates a PetSet.

func ValidatePetSetName

func ValidatePetSetName(name string, prefix bool) []string

ValidatePetSetName can be used to check whether the given PetSet name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.

func ValidatePetSetSpec

func ValidatePetSetSpec(spec *apps.PetSetSpec, fldPath *field.Path) field.ErrorList

ValidatePetSetSpec tests if required fields in the PetSet spec are set.

func ValidatePetSetStatusUpdate

func ValidatePetSetStatusUpdate(petSet, oldPetSet *apps.PetSet) field.ErrorList

ValidatePetSetStatusUpdate tests if required fields in the PetSet are set.

func ValidatePetSetUpdate

func ValidatePetSetUpdate(petSet, oldPetSet *apps.PetSet) field.ErrorList

ValidatePetSetUpdate tests if required fields in the PetSet are set.

func ValidatePodTemplateSpecForPetSet

func ValidatePodTemplateSpecForPetSet(template *api.PodTemplateSpec, selector labels.Selector, fldPath *field.Path) field.ErrorList

Validates the given template and ensures that it is in accordance with the desired selector.

Types

This section is empty.

Jump to

Keyboard shortcuts

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