Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePriorityClass ¶
func ValidatePriorityClass(pc *scheduling.PriorityClass) field.ErrorList
ValidatePriorityClass tests whether required fields in the PriorityClass are set correctly.
func ValidatePriorityClassName ¶
ValidatePriorityClassName checks whether the given priority class name is valid.
func ValidatePriorityClassUpdate ¶
func ValidatePriorityClassUpdate(pc, oldPc *scheduling.PriorityClass) field.ErrorList
ValidatePriorityClassUpdate tests if required fields in the PriorityClass are set and are valid. PriorityClass does not allow updating Name, and Value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.