Documentation ¶
Index ¶
- Constants
- type Handler
- func (h *Handler) AddToManager(mgr manager.Manager) error
- func (h *Handler) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (h *Handler) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (h *Handler) ValidateUpdate(ctx context.Context, _, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
View Source
const ( // HandlerName is the name of this admission webhook handler. HandlerName = "shootkubeconfigsecretref_validator" // WebhookPath is the HTTP handler path for this admission webhook handler. WebhookPath = "/webhooks/validate-shoot-kubeconfig-secret-ref" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler validates shoot kubeconfig secrets.
func (*Handler) AddToManager ¶
AddToManager adds Handler to the given manager.
func (*Handler) ValidateCreate ¶
ValidateCreate returns nil (not implemented by this handler).
func (*Handler) ValidateDelete ¶
ValidateDelete returns nil (not implemented by this handler).
Click to show internal directories.
Click to hide internal directories.