validation

package
v1.27.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 22 Imported by: 71

Documentation

Index

Constants

This section is empty.

Variables

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 ValidateValidatingAdmissionPolicyStatusUpdate added in v1.27.0

func ValidateValidatingAdmissionPolicyStatusUpdate(newC, oldC *admissionregistration.ValidatingAdmissionPolicy) field.ErrorList

ValidateValidatingAdmissionPolicyStatusUpdate validates update of status 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL