Documentation ¶
Index ¶
- Variables
- type NodePoolCreateUpdateHandler
- func (h *NodePoolCreateUpdateHandler) Handle(ctx context.Context, req admission.Request) admission.Response
- func (h *NodePoolCreateUpdateHandler) InjectClient(c client.Client) error
- func (h *NodePoolCreateUpdateHandler) InjectDecoder(d *admission.Decoder) error
- func (h *NodePoolCreateUpdateHandler) SetOptions(options webhookutil.Options)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // HandlerMap contains admission webhook handlers HandlerMap = map[string]webhookutil.Handler{ "validate-apps-openyurt-io-v1alpha1-nodepool": &NodePoolCreateUpdateHandler{}, } )
Functions ¶
This section is empty.
Types ¶
type NodePoolCreateUpdateHandler ¶
type NodePoolCreateUpdateHandler struct { Client client.Client // Decoder decodes objects Decoder *admission.Decoder }
NodePoolCreateUpdateHandler handles UnitedDeployment
func (*NodePoolCreateUpdateHandler) Handle ¶
func (h *NodePoolCreateUpdateHandler) Handle(ctx context.Context, req admission.Request) admission.Response
Handle handles admission requests.
func (*NodePoolCreateUpdateHandler) InjectClient ¶
func (h *NodePoolCreateUpdateHandler) InjectClient(c client.Client) error
InjectClient injects the client into the PodCreateHandler
func (*NodePoolCreateUpdateHandler) InjectDecoder ¶
func (h *NodePoolCreateUpdateHandler) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder into the UnitedDeploymentCreateUpdateHandler
func (*NodePoolCreateUpdateHandler) SetOptions ¶
func (h *NodePoolCreateUpdateHandler) SetOptions(options webhookutil.Options)
Click to show internal directories.
Click to hide internal directories.