Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // HandlerMap contains admission webhook handlers HandlerMap = map[string]admission.Handler{ "validate-service": &ServiceHandler{}, } )
Functions ¶
This section is empty.
Types ¶
type ServiceHandler ¶
type ServiceHandler struct { Client client.Client // Decoder decodes objects Decoder *admission.Decoder }
func (*ServiceHandler) InjectClient ¶
func (h *ServiceHandler) InjectClient(c client.Client) error
func (*ServiceHandler) InjectDecoder ¶
func (h *ServiceHandler) InjectDecoder(d *admission.Decoder) error
Click to show internal directories.
Click to hide internal directories.