# Packages

No description provided by the author

# Functions

Allowed constructs a response indicating that the given operation is allowed (without any patches).
DefaulterRemoveUnknownOrOmitableFields makes the defaulter prune fields that are in the json object retrieved by the webhook but not in the local go type json representation.
DefaultLogConstructor adds some commonly interesting fields to the given logger.
Denied constructs a response indicating that the given operation is not allowed.
Errored creates a new Response for error-handling a request.
MultiMutatingHandler combines multiple mutating webhook handlers into a single mutating webhook handler.
MultiValidatingHandler combines multiple validating webhook handlers into a single validating webhook handler.
NewContextWithRequest returns a new Context, derived from ctx, which carries the provided admission.Request.
NewDecoder creates a decoder given the runtime.Scheme.
Patched constructs a response indicating that the given operation is allowed, and that the target object should be modified by the given JSONPatch operations.
PatchResponseFromRaw takes 2 byte arrays and returns a new response with json patch.
RequestFromContext returns an admission.Request from ctx.
StandaloneWebhook prepares a webhook for use without a webhook.Server, passing in the information normally populated by webhook.Server and instrumenting the webhook with metrics.
ValidationResponse returns a response for admitting a request.
WithCustomDefaulter creates a new Webhook for a CustomDefaulter interface.
WithCustomValidator creates a new Webhook for validating the provided type.

# Structs

Request defines the input for an admission handler.
Response is the output of an admission handler.
StandaloneOptions let you configure a StandaloneWebhook.
Webhook represents each individual webhook.

# Interfaces

CustomDefaulter defines functions for setting defaults on resources.
CustomValidator defines functions for validating an operation.
Decoder knows how to decode the contents of an admission request into a concrete object.
Handler can handle an AdmissionRequest.

# Type aliases

DefaulterOption defines the type of a CustomDefaulter's option.
HandlerFunc implements Handler interface using a single function.
Warnings represents warning messages.