Documentation ¶
Index ¶
- func AppendFieldList(err error, list field.ErrorList) *multierror.Error
- func ValidateRuleWithOperations(ruleWithOperations *admissionregistration.RuleWithOperations, ...) field.ErrorList
- func ValidateValidatingWebhook(hook *v1.ValidatingWebhook, fldPath *field.Path) error
- func ValidateValidatingWebhookConfiguration(e *v1.ValidatingWebhookConfiguration) error
- func ValidateValidatingWebhooks(e *v1.ValidatingWebhookConfiguration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendFieldList ¶
func ValidateRuleWithOperations ¶
func ValidateRuleWithOperations(ruleWithOperations *admissionregistration.RuleWithOperations, fldPath *field.Path) field.ErrorList
func ValidateValidatingWebhook ¶
func ValidateValidatingWebhook(hook *v1.ValidatingWebhook, fldPath *field.Path) error
ValidateValidatingWebhook checks a "webhook" section.
"failurePolicy" and "sideEffect" are validated by hook config schema.
"clientConfig" and "matchPolicy" are filled in WebhookResource, no need to check.
"rules", "timeoutSeconds", "namespaceSelector", "objectSelector" are from hook config.
func ValidateValidatingWebhookConfiguration ¶
func ValidateValidatingWebhookConfiguration(e *v1.ValidatingWebhookConfiguration) error
ValidateValidatingWebhookConfiguration validates a webhook before creation.
func ValidateValidatingWebhooks ¶
func ValidateValidatingWebhooks(e *v1.ValidatingWebhookConfiguration) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.