package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev

# Functions

NewMutatingWebhook returns a generic admission webhook plugin.
Register registers a plugin.

# Constants

MutationAnnotationFailedOpenKeyPrefix in an annotation indicates the mutating webhook failed open when the webhook backend connection failed or returned an internal server error.
MutationAuditAnnotationPrefix is a prefix for presisting webhook mutation existence in audit annotation.
PatchAuditAnnotationPrefix is a prefix for persisting webhook patch in audit annotation.
PluginName indicates the name of admission plug-in.

# Structs

MutationAuditAnnotation logs if a webhook invocation mutated the request object.
PatchAuditAnnotation logs a patch from a mutating webhook.
Plugin is an implementation of admission.Interface.