Documentation ¶
Index ¶
- Constants
- type Handler
- func (h *Handler) AddToManager(mgr manager.Manager) error
- func (h *Handler) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (h *Handler) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (h *Handler) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
View Source
const ( // HandlerName is the name of this admission webhook handler. HandlerName = "internal_domain" // WebhookPath is the HTTP handler path for this admission webhook handler. WebhookPath = "/webhooks/admission/validate-internal-domain" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶ added in v1.60.0
Handler validates the immutability of the internal domain secret.
func (*Handler) AddToManager ¶ added in v1.60.0
AddToManager adds Handler to the given manager.
func (*Handler) ValidateCreate ¶ added in v1.60.0
func (h *Handler) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate performs the check.
Click to show internal directories.
Click to hide internal directories.