Back to godoc.org
k8s.io/kubernetes / pkg / apis / admissionregistration / validation

package validation

v1.18.5
Latest Go to latest
Published: Jun 26, 2020 | License: Apache-2.0 | Module: k8s.io/kubernetes

Index

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"]

func ValidateMutatingWebhookConfiguration

func ValidateMutatingWebhookConfiguration(e *admissionregistration.MutatingWebhookConfiguration, requestGV schema.GroupVersion) field.ErrorList

ValidateMutatingWebhookConfiguration validates a webhook before creation.

func ValidateMutatingWebhookConfigurationUpdate

func ValidateMutatingWebhookConfigurationUpdate(newC, oldC *admissionregistration.MutatingWebhookConfiguration, requestGV schema.GroupVersion) field.ErrorList

func ValidateValidatingWebhookConfiguration

func ValidateValidatingWebhookConfiguration(e *admissionregistration.ValidatingWebhookConfiguration, requestGV schema.GroupVersion) field.ErrorList

ValidateValidatingWebhookConfiguration validates a webhook before creation.

func ValidateValidatingWebhookConfigurationUpdate

func ValidateValidatingWebhookConfigurationUpdate(newC, oldC *admissionregistration.ValidatingWebhookConfiguration, requestGV schema.GroupVersion) field.ErrorList
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier