validation

package
v1.16.15-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 11 Imported by: 71

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AcceptedAdmissionReviewVersions = []string{v1beta1.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, requestGV schema.GroupVersion) field.ErrorList

ValidateMutatingWebhookConfiguration validates a webhook before creation.

func ValidateMutatingWebhookConfigurationUpdate added in v1.9.0

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

func ValidateValidatingWebhookConfiguration added in v1.9.0

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

ValidateValidatingWebhookConfiguration validates a webhook before creation.

func ValidateValidatingWebhookConfigurationUpdate added in v1.9.0

func ValidateValidatingWebhookConfigurationUpdate(newC, oldC *admissionregistration.ValidatingWebhookConfiguration, requestGV schema.GroupVersion) field.ErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

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