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