mutating

package
v0.0.0-...-d51a12e Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 12 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 FunctionCreateHandler

type FunctionCreateHandler struct {
	Client client.Client

	// Decoder decodes objects
	Decoder types.Decoder
}

FunctionCreateHandler handles Function

func (*FunctionCreateHandler) Handle

Handle handles admission requests.

func (*FunctionCreateHandler) InjectClient

func (h *FunctionCreateHandler) InjectClient(c client.Client) error

InjectClient injects the client into the FunctionCreateHandler

func (*FunctionCreateHandler) InjectDecoder

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

InjectDecoder injects the decoder into the FunctionCreateHandler

Jump to

Keyboard shortcuts

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