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-podprobemarker": &PodProbeMarkerCreateUpdateHandler{}, } )
Functions ¶
func ValidatePortNumOrName ¶ added in v1.6.0
Types ¶
type PodProbeMarkerCreateUpdateHandler ¶
type PodProbeMarkerCreateUpdateHandler struct { // Decoder decodes objects Decoder *admission.Decoder }
PodProbeMarkerCreateUpdateHandler handles PodProbeMarker
func (*PodProbeMarkerCreateUpdateHandler) Handle ¶
func (h *PodProbeMarkerCreateUpdateHandler) Handle(ctx context.Context, req admission.Request) admission.Response
Handle handles admission requests.
func (*PodProbeMarkerCreateUpdateHandler) InjectClient ¶
func (h *PodProbeMarkerCreateUpdateHandler) InjectClient(c client.Client) error
InjectClient injects the client into the PodProbeMarkerCreateUpdateHandler
func (*PodProbeMarkerCreateUpdateHandler) InjectDecoder ¶
func (h *PodProbeMarkerCreateUpdateHandler) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder into the PodProbeMarkerCreateUpdateHandler
Click to show internal directories.
Click to hide internal directories.