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 CloneSetCreateUpdateHandler

type CloneSetCreateUpdateHandler struct {

	// Decoder decodes objects
	Decoder types.Decoder
}

CloneSetCreateUpdateHandler handles CloneSet

func (*CloneSetCreateUpdateHandler) Handle

Handle handles admission requests.

func (*CloneSetCreateUpdateHandler) InjectDecoder

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

InjectDecoder injects the decoder into the CloneSetCreateUpdateHandler