cluster

package
v1.9.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type UpdateValidator

type UpdateValidator struct {
	// contains filtered or unexported fields
}

func NewUpdateValidator

func NewUpdateValidator(config UpdateValidatorConfig) (*UpdateValidator, error)

func (*UpdateValidator) Log

func (a *UpdateValidator) Log(keyVals ...interface{})

func (*UpdateValidator) Validate

func (a *UpdateValidator) Validate(ctx context.Context, request *v1beta1.AdmissionRequest) (bool, error)

type UpdateValidatorConfig

type UpdateValidatorConfig struct {
	CtrlClient client.Client
	Logger     micrologger.Logger
}

Jump to

Keyboard shortcuts

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