validator

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Deserializer = codecs.UniversalDeserializer()
)

Functions

func Handler

func Handler(validator Validator) http.HandlerFunc

Types

type Validator

type Validator interface {
	Validate(review *v1beta1.AdmissionRequest) (bool, error)
	Log(keyVals ...interface{})
}

Jump to

Keyboard shortcuts

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