validating

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HandlerGetterMap contains admission webhook handlers
	HandlerGetterMap = map[string]types.HandlerGetter{
		"validate-apps-kruise-io-podprobemarker": func(mgr manager.Manager) admission.Handler {
			return &PodProbeMarkerCreateUpdateHandler{Decoder: admission.NewDecoder(mgr.GetScheme())}
		},
	}
)

Functions

func ValidatePortNumOrName added in v1.6.0

func ValidatePortNumOrName(port intstr.IntOrString, fldPath *field.Path) field.ErrorList

Types

type PodProbeMarkerCreateUpdateHandler

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

PodProbeMarkerCreateUpdateHandler handles PodProbeMarker

func (*PodProbeMarkerCreateUpdateHandler) Handle

Handle handles admission requests.

Jump to

Keyboard shortcuts

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