validating

package
v2.0.8-5+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const AllowedReason string = "allowed to be admitted"

Webhook response reasons

Variables

View Source
var (
	// Builders contain admission webhook builders
	Builders = map[string]*builder.WebhookBuilder{}
	// HandlerMap contains admission webhook handlers
	HandlerMap = map[string][]admission.Handler{}
)

Functions

This section is empty.

Types

type PtpInstanceCreateUpdateHandler

type PtpInstanceCreateUpdateHandler struct {
	// Decoder decodes objects
	Decoder types.Decoder
}

PtpInstanceCreateUpdateHandler handles PtpInstance

func (*PtpInstanceCreateUpdateHandler) Handle

Handle handles admission requests.

func (*PtpInstanceCreateUpdateHandler) InjectDecoder

func (h *PtpInstanceCreateUpdateHandler) InjectDecoder(d types.Decoder) error

InjectDecoder injects the decoder into the PlatformNetworkCreateUpdateHandler

Jump to

Keyboard shortcuts

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