validating

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HandlerMap = map[string]admission.Handler{
	"/apis/admission.nebula-graph.io/v1alpha1/statefulsetvalidating": &StatefulSetCreateUpdateHandler{},
}

HandlerMap contains admission webhook handlers

Functions

This section is empty.

Types

type StatefulSetCreateUpdateHandler

type StatefulSetCreateUpdateHandler 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
}

StatefulSetCreateUpdateHandler handles StatefulSet

func (*StatefulSetCreateUpdateHandler) Handle

Handle handles admission requests.

func (*StatefulSetCreateUpdateHandler) InjectClient

InjectClient injects the client into the StatefulSetCreateUpdateHandler

func (*StatefulSetCreateUpdateHandler) InjectDecoder

InjectDecoder injects the decoder into the StatefulSetCreateUpdateHandler

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL