validator

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: Apache-2.0, MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSecretHandler added in v0.31.1

func NewSecretHandler(mgr manager.Manager, log logr.Logger) admission.Handler

NewSecretHandler returns a new instance of a shoot handler.

func NewShootHandler added in v0.31.1

func NewShootHandler(mgr manager.Manager, log logr.Logger) admission.Handler

NewShootHandler returns a new instance of a shoot handler.

Types

type Secret added in v0.10.0

type Secret struct {
	Logger logr.Logger
	// contains filtered or unexported fields
}

Shoot validates shoots

func (*Secret) Handle added in v0.10.0

Handle implements Handler.Handle

type Shoot

type Shoot struct {
	Logger logr.Logger
	// contains filtered or unexported fields
}

Shoot validates shoots

func (*Shoot) Handle

func (v *Shoot) Handle(ctx context.Context, req admission.Request) admission.Response

Handle implements Handler.Handle

Jump to

Keyboard shortcuts

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