validator

package
v1.90.7 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.

Types

type Bastion

type Bastion struct {
	*admission.Handler
	// contains filtered or unexported fields
}

Bastion contains listers and admission handler.

func New

func New() (*Bastion, error)

New creates a new Bastion admission plugin.

func (*Bastion) Admit

Admit validates and if appropriate mutates the given bastion against the shoot that it references.

func (*Bastion) AssignReadyFunc

func (v *Bastion) AssignReadyFunc(f admission.ReadyFunc)

AssignReadyFunc assigns the ready function to the admission handler.

func (*Bastion) SetCoreClientSet added in v1.90.0

func (v *Bastion) SetCoreClientSet(c gardencoreclientset.Interface)

SetCoreClientSet sets the garden core clientset.

func (*Bastion) ValidateInitialization

func (v *Bastion) ValidateInitialization() error

ValidateInitialization checks whether the plugin was correctly initialized.

Jump to

Keyboard shortcuts

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