Documentation ¶
Index ¶
- func ValidatePetSet(petSet *apps.PetSet) field.ErrorList
- func ValidatePetSetName(name string, prefix bool) (bool, string)
- func ValidatePetSetSpec(spec *apps.PetSetSpec, fldPath *field.Path) field.ErrorList
- func ValidatePetSetStatusUpdate(petSet, oldPetSet *apps.PetSet) field.ErrorList
- func ValidatePetSetUpdate(petSet, oldPetSet *apps.PetSet) field.ErrorList
- func ValidatePodTemplateSpecForPetSet(template *api.PodTemplateSpec, selector labels.Selector, fldPath *field.Path) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePetSet ¶
ValidatePetSet validates a PetSet.
func ValidatePetSetName ¶
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 ¶
ValidatePetSetSpec tests if required fields in the PetSet spec are set.
func ValidatePetSetStatusUpdate ¶
ValidatePetSetStatusUpdate tests if required fields in the PetSet are set.
func ValidatePetSetUpdate ¶
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.
Click to show internal directories.
Click to hide internal directories.