Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HandlerMap = map[string]admission.Handler{ "/apis/admission.nebula-graph.io/v1alpha1/statefulsetmutating": &StatefulSetCreateUpdateHandler{}, }
HandlerMap contains admission webhook handlers
Functions ¶
This section is empty.
Types ¶
type StatefulSetCreateUpdateHandler ¶
type StatefulSetCreateUpdateHandler struct { // Decoder decodes objects Decoder *admission.Decoder }
StatefulSetCreateUpdateHandler handles StatefulSet
func (*StatefulSetCreateUpdateHandler) Handle ¶
func (h *StatefulSetCreateUpdateHandler) Handle(_ context.Context, req admission.Request) admission.Response
Handle handles admission requests.
func (*StatefulSetCreateUpdateHandler) InjectDecoder ¶
func (h *StatefulSetCreateUpdateHandler) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder into the StatefulSetCreateUpdateHandler
Click to show internal directories.
Click to hide internal directories.