Versions in this module Expand all Collapse all v0 v0.0.3 Sep 24, 2025 Changes in this version + const HealthzEndpointURI + const ReadinessEndpointURI + const URI + const WebhookName + func ParseHTTPRequest(r *http.Request) (admissionctl.Request, admissionctl.Response, error) + func SendResponse(w io.Writer, resp admissionctl.Response) + type Dispatcher struct + func NewDispatcher(hook Webhook) *Dispatcher + func (d *Dispatcher) HandleHealthz(w http.ResponseWriter, r *http.Request) + func (d *Dispatcher) HandleReadiness(w http.ResponseWriter, r *http.Request) + func (d *Dispatcher) HandleRequest(w http.ResponseWriter, r *http.Request) + type InstasliceWebhook struct + func (s *InstasliceWebhook) Authorized(request admissionctl.Request) admissionctl.Response + func (s *InstasliceWebhook) GetHealthzURI() string + func (s *InstasliceWebhook) GetReadinessURI() string + func (s *InstasliceWebhook) GetURI() string + func (s *InstasliceWebhook) Name() string + func (s *InstasliceWebhook) Validate(req admissionctl.Request) bool + type Webhook interface + Authorized func(request admissionctl.Request) admissionctl.Response + GetHealthzURI func() string + GetReadinessURI func() string + GetURI func() string + Name func() string + func NewWebhook() Webhook