validating

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdvancedCronJobNameMaxLen = 63
)

Variables

View Source
var (
	// HandlerMap contains admission webhook handlers
	HandlerMap = map[string]admission.Handler{
		"validate-apps-kruise-io-v1alpha1-advancedcronjob": &AdvancedCronJobCreateUpdateHandler{},
	}
)

Functions

This section is empty.

Types

type AdvancedCronJobCreateUpdateHandler

type AdvancedCronJobCreateUpdateHandler struct {
	// Decoder decodes objects
	Decoder *admission.Decoder
}

AdvancedCronJobCreateUpdateHandler handles AdvancedCronJob

func (*AdvancedCronJobCreateUpdateHandler) Handle

Handle handles admission requests.

func (*AdvancedCronJobCreateUpdateHandler) InjectDecoder

InjectDecoder injects the decoder into the AdvancedCronJobCreateUpdateHandler

Jump to

Keyboard shortcuts

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