Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePodPreset ¶
func ValidatePodPreset(pip *settings.PodPreset) field.ErrorList
ValidatePodPreset validates a PodPreset.
func ValidatePodPresetName ¶
func ValidatePodPresetName(name string, prefix bool) []string
ValidatePodPresetName can be used to check whether the given PodPreset name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.
func ValidatePodPresetSpec ¶
func ValidatePodPresetSpec(spec *settings.PodPresetSpec, fldPath *field.Path) field.ErrorList
ValidatePodPresetSpec tests if required fields in the PodPreset spec are set.
func ValidatePodPresetUpdate ¶
func ValidatePodPresetUpdate(pip, oldPip *settings.PodPreset) field.ErrorList
ValidatePodPresetUpdate tests if required fields in the PodPreset are set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.