Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HandlerMap = map[string]admission.Handler{ "/apis/admission.nebula-graph.io/v1alpha1/nebulaclustervalidating": &NebulaClusterCreateUpdateHandler{}, }
HandlerMap contains admission webhook handlers
Functions ¶
This section is empty.
Types ¶
type NebulaClusterCreateUpdateHandler ¶
type NebulaClusterCreateUpdateHandler 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 }
NebulaClusterCreateUpdateHandler handles StatefulSet
func (*NebulaClusterCreateUpdateHandler) Handle ¶
func (h *NebulaClusterCreateUpdateHandler) Handle(_ context.Context, req admission.Request) (resp admission.Response)
Handle handles admission requests.
func (*NebulaClusterCreateUpdateHandler) InjectClient ¶
func (h *NebulaClusterCreateUpdateHandler) InjectClient(c client.Client) error
InjectClient injects the client into the NebulaClusterCreateUpdateHandler
func (*NebulaClusterCreateUpdateHandler) InjectDecoder ¶
func (h *NebulaClusterCreateUpdateHandler) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder into the NebulaClusterCreateUpdateHandler
Click to show internal directories.
Click to hide internal directories.