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(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (h *Handler) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)
Constants ¶
View Source
const ( // HandlerName is the name of this admission webhook handler. HandlerName = "namespace-deletion-validator" // WebhookPath is the HTTP handler path for this admission webhook handler. WebhookPath = "/webhooks/validate-core-v1-namespace" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler performs validation.
func (*Handler) AddToManager ¶
AddToManager adds Handler to the given manager.
func (*Handler) ValidateCreate ¶
ValidateCreate performs the validation.
Click to show internal directories.
Click to hide internal directories.