validating

package
v0.0.0-...-8eabaa6 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 PodCreateHandler

type PodCreateHandler struct {

	// Decoder decodes objects
	Decoder types.Decoder
}

PodCreateHandler handles Pod

func (*PodCreateHandler) Handle

Handle handles admission requests.

func (*PodCreateHandler) InjectDecoder

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

InjectDecoder injects the decoder into the PodCreateHandler

Jump to

Keyboard shortcuts

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