package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev
# Functions
ConvertToGVK converts object to the desired gvk.
ConvertVersionedAttributes converts VersionedObject and VersionedOldObject to the specified kind, if needed.
NewVersionedAttributes returns versioned attributes with the old and new object (if non-nil) converted to the requested kind.
NewWebhook creates a new generic admission webhook.
# Structs
VersionedAttributes is a wrapper around the original admission attributes, adding versioned variants of the object and old object.
Webhook is an abstract admission plugin with all the infrastructure to define Admit or Validate on-top.
WebhookInvocation describes how to call a webhook, including the resource and subresource the webhook registered for, and the kind that should be sent to the webhook.
# Interfaces
Dispatcher dispatches webhook call to a list of webhooks with admission attributes as argument.
Source can list dynamic webhook plugins.