validating

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2019 License: MIT 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 PipelineCreateUpdateHandler

type PipelineCreateUpdateHandler struct {

	// Decoder decodes objects
	Decoder types.Decoder
}

PipelineCreateUpdateHandler handles Pipeline

func (*PipelineCreateUpdateHandler) Handle

Handle handles admission requests.

func (*PipelineCreateUpdateHandler) InjectDecoder

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

InjectDecoder injects the decoder into the PipelineCreateUpdateHandler

func (*PipelineCreateUpdateHandler) Validate

func (h *PipelineCreateUpdateHandler) Validate(config []byte) (bool, string, error)

Jump to

Keyboard shortcuts

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