Documentation ¶
Overview ¶
Package builder is based on the controller-runtime webhook builder. It's modified to support building webhooks for the unified admission controller that supports creating webhooks for both native and custom resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder builds a Webhook.
func WebhookManagedBy ¶
WebhookManagedBy adds the manager to the builder.
func (*Builder) Complete ¶
func (blder *Builder) Complete(c tkAdmission.Controller) error
Complete builds the webhook.
func (*Builder) MutatePath ¶
MutatePath is the mutation webhook endpoint path to use when registering the mutating webhook.
func (*Builder) ValidatePath ¶
ValidatePath is the validating webhook endpoint path to use when registering the validating webhook.
Click to show internal directories.
Click to hide internal directories.