Documentation ¶
Overview ¶
Package webhooks manages and receives Kubernetes Webhooks
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler func(review v1beta1.AdmissionReview) (v1beta1.AdmissionReview, error)
Handler handles a webhook's AdmissionReview coming in, and will return the AdmissionReview that will be the return value of the webhook
type WebHook ¶
type WebHook struct {
// contains filtered or unexported fields
}
WebHook manage Kubernetes webhooks
func NewWebHook ¶
NewWebHook returns a Kubernetes webhook manager
func (*WebHook) AddHandler ¶
AddHandler adds a handler for a given path, group and kind, and operation
Click to show internal directories.
Click to hide internal directories.