Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Builders contain admission webhook builders Builders = map[string]*builder.WebhookBuilder{} // HandlerMap contains admission webhook handlers HandlerMap = map[string][]admission.Handler{} )
Functions ¶
This section is empty.
Types ¶
type ClusterCreateUpdateHandler ¶
type ClusterCreateUpdateHandler struct { // Client manipulates objects in K8s Client client.Client // Decoder decodes objects Decoder types.Decoder }
ClusterCreateUpdateHandler handles Cluster
func (*ClusterCreateUpdateHandler) InjectClient ¶
func (h *ClusterCreateUpdateHandler) InjectClient(c client.Client) error
InjectClient injects the client into the ClusterCreateUpdateHandler
func (*ClusterCreateUpdateHandler) InjectDecoder ¶
func (h *ClusterCreateUpdateHandler) InjectDecoder(d types.Decoder) error
InjectDecoder injects the decoder into the ClusterCreateUpdateHandler
Click to show internal directories.
Click to hide internal directories.