Documentation ¶
Index ¶
- func ValidateJsPolicy(e *policyv1beta1.JsPolicy) field.ErrorList
- func ValidateJsPolicyUpdate(newC, oldC *policyv1beta1.JsPolicy) field.ErrorList
- func ValidateLabelName(labelName string, fldPath *field.Path) field.ErrorList
- func ValidateLabelSelector(ps *metav1.LabelSelector, fldPath *field.Path) field.ErrorList
- func ValidateLabelSelectorRequirement(sr metav1.LabelSelectorRequirement, fldPath *field.Path) field.ErrorList
- func ValidateLabels(labels map[string]string, fldPath *field.Path) field.ErrorList
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateJsPolicy ¶
func ValidateJsPolicy(e *policyv1beta1.JsPolicy) field.ErrorList
ValidateJsPolicy validates a webhook before creation.
func ValidateJsPolicyUpdate ¶
func ValidateJsPolicyUpdate(newC, oldC *policyv1beta1.JsPolicy) field.ErrorList
ValidateJsPolicyUpdate validates update of validating webhook configuration
func ValidateLabelName ¶
ValidateLabelName validates that the label name is correctly defined.
func ValidateLabelSelector ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.