Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HandlerName is the name of this admission webhook handler. HandlerName = "validator" // WebhookPath is the HTTP handler path for this admission webhook handler. WebhookPath = "/webhooks/validate-operator-gardener-cloud-v1alpha1-garden" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler checks, if the secrets contains a kubeconfig and denies kubeconfigs with invalid fields (e.g. tokenFile or exec).
func (*Handler) AddToManager ¶
AddToManager adds Handler to the given manager.
func (*Handler) ValidateCreate ¶
ValidateCreate performs the validation.
func (*Handler) ValidateDelete ¶
ValidateDelete performs the validation.
Click to show internal directories.
Click to hide internal directories.