Documentation ¶
Index ¶
- func EnsureStringSlicesAreEquivalent(a []string, b []string) bool
- func NewMutatingWebhook(defaulter Defaulter, client client.Client) *admission.Webhook
- func NewValidatingWebhook(validator Validator, client client.Client) *admission.Webhook
- func ValidateImmutable(path *field.Path, oldVal, newVal any) *field.Error
- type Defaulter
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureStringSlicesAreEquivalent ¶ added in v1.7.0
EnsureStringSlicesAreEquivalent returns if two string slices have equal lengths, and that they have the exact same items; it does not enforce strict ordering of items.
func NewMutatingWebhook ¶
NewMutatingWebhook creates a new Webhook for Defaulting the provided type.
func NewValidatingWebhook ¶
NewValidatingWebhook creates a new Webhook for validating the provided type.
Types ¶
Click to show internal directories.
Click to hide internal directories.