Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // HandlerMap contains admission webhook handlers HandlerMap = map[string]admission.Handler{ "validate-apps-kruise-io-v1alpha1-sidecarset": &SidecarSetCreateUpdateHandler{}, } )
Functions ¶
This section is empty.
Types ¶
type SidecarSetCreateUpdateHandler ¶
type SidecarSetCreateUpdateHandler struct { // To use the client, you need to do the following: // - uncomment it // - import sigs.k8s.io/controller-runtime/pkg/client // - uncomment the InjectClient method at the bottom of this file. Client client.Client // Decoder decodes objects Decoder *admission.Decoder }
SidecarSetCreateUpdateHandler handles SidecarSet
func (*SidecarSetCreateUpdateHandler) Handle ¶
func (h *SidecarSetCreateUpdateHandler) Handle(ctx context.Context, req admission.Request) admission.Response
Handle handles admission requests.
func (*SidecarSetCreateUpdateHandler) InjectClient ¶ added in v0.8.0
func (h *SidecarSetCreateUpdateHandler) InjectClient(c client.Client) error
InjectClient injects the client into the SidecarSetCreateUpdateHandler
func (*SidecarSetCreateUpdateHandler) InjectDecoder ¶
func (h *SidecarSetCreateUpdateHandler) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder into the SidecarSetCreateUpdateHandler
Click to show internal directories.
Click to hide internal directories.