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