Documentation ¶
Index ¶
- Variables
- func ValidateMutatingWebhookConfiguration(e *admissionregistration.MutatingWebhookConfiguration) field.ErrorList
- func ValidateMutatingWebhookConfigurationUpdate(newC, oldC *admissionregistration.MutatingWebhookConfiguration) field.ErrorList
- func ValidateValidatingAdmissionPolicy(p *admissionregistration.ValidatingAdmissionPolicy) field.ErrorList
- func ValidateValidatingAdmissionPolicyBinding(pb *admissionregistration.ValidatingAdmissionPolicyBinding) field.ErrorList
- func ValidateValidatingAdmissionPolicyBindingUpdate(newC, oldC *admissionregistration.ValidatingAdmissionPolicyBinding) field.ErrorList
- func ValidateValidatingAdmissionPolicyUpdate(newC, oldC *admissionregistration.ValidatingAdmissionPolicy) field.ErrorList
- func ValidateValidatingWebhookConfiguration(e *admissionregistration.ValidatingWebhookConfiguration) field.ErrorList
- func ValidateValidatingWebhookConfigurationUpdate(newC, oldC *admissionregistration.ValidatingWebhookConfiguration) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
var AcceptedAdmissionReviewVersions = []string{admissionregistrationv1.SchemeGroupVersion.Version, admissionregistrationv1beta1.SchemeGroupVersion.Version}
AcceptedAdmissionReviewVersions contains the list of AdmissionReview versions the *prior* version of the API server understands. 1.15: server understands v1beta1; accepted versions are ["v1beta1"] 1.16: server understands v1, v1beta1; accepted versions are ["v1beta1"] 1.17+: server understands v1, v1beta1; accepted versions are ["v1","v1beta1"]
Functions ¶
func ValidateMutatingWebhookConfiguration ¶ added in v1.9.0
func ValidateMutatingWebhookConfiguration(e *admissionregistration.MutatingWebhookConfiguration) field.ErrorList
ValidateMutatingWebhookConfiguration validates a webhook before creation.
func ValidateMutatingWebhookConfigurationUpdate ¶ added in v1.9.0
func ValidateMutatingWebhookConfigurationUpdate(newC, oldC *admissionregistration.MutatingWebhookConfiguration) field.ErrorList
ValidateMutatingWebhookConfigurationUpdate validates update of mutating webhook configuration
func ValidateValidatingAdmissionPolicy ¶ added in v1.26.0
func ValidateValidatingAdmissionPolicy(p *admissionregistration.ValidatingAdmissionPolicy) field.ErrorList
ValidateValidatingAdmissionPolicy validates a ValidatingAdmissionPolicy before creation.
func ValidateValidatingAdmissionPolicyBinding ¶ added in v1.26.0
func ValidateValidatingAdmissionPolicyBinding(pb *admissionregistration.ValidatingAdmissionPolicyBinding) field.ErrorList
ValidateValidatingAdmissionPolicyBinding validates a ValidatingAdmissionPolicyBinding before create.
func ValidateValidatingAdmissionPolicyBindingUpdate ¶ added in v1.26.0
func ValidateValidatingAdmissionPolicyBindingUpdate(newC, oldC *admissionregistration.ValidatingAdmissionPolicyBinding) field.ErrorList
ValidateValidatingAdmissionPolicyBindingUpdate validates update of validating admission policy
func ValidateValidatingAdmissionPolicyUpdate ¶ added in v1.26.0
func ValidateValidatingAdmissionPolicyUpdate(newC, oldC *admissionregistration.ValidatingAdmissionPolicy) field.ErrorList
ValidateValidatingAdmissionPolicyUpdate validates update of validating admission policy
func ValidateValidatingWebhookConfiguration ¶ added in v1.9.0
func ValidateValidatingWebhookConfiguration(e *admissionregistration.ValidatingWebhookConfiguration) field.ErrorList
ValidateValidatingWebhookConfiguration validates a webhook before creation.
func ValidateValidatingWebhookConfigurationUpdate ¶ added in v1.9.0
func ValidateValidatingWebhookConfigurationUpdate(newC, oldC *admissionregistration.ValidatingWebhookConfiguration) field.ErrorList
ValidateValidatingWebhookConfigurationUpdate validates update of validating webhook configuration
Types ¶
This section is empty.