validator

package
v0.28.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

func (*Secret) InjectAPIReader added in v0.10.0

func (s *Secret) InjectAPIReader(apiReader client.Reader) error

InjectAPIReader injects the given apiReader into the validator.

func (*Secret) InjectClient added in v0.10.0

func (s *Secret) InjectClient(c client.Client) error

InjectClient injects the client.

func (*Secret) InjectScheme added in v0.10.0

func (s *Secret) InjectScheme(_ *runtime.Scheme) error

InjectScheme injects the scheme.

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) InjectAPIReader added in v0.10.0

func (v *Shoot) InjectAPIReader(apiReader client.Reader) error

InjectAPIReader injects the given apiReader into the validator.

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