validator

package
v1.16.0 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, MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

func (*Shoot) InjectClient

func (v *Shoot) InjectClient(c client.Client) error

InjectClient injects the client.

func (*Shoot) InjectScheme

func (v *Shoot) InjectScheme(s *runtime.Scheme) error

InjectScheme injects the scheme.

Jump to

Keyboard shortcuts

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