shoot

package
v1.99.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 16 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 Shoot

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

Shoot contains listers and admission handler.

func New

func New() (*Shoot, error)

New creates a new Shoot admission plugin.

func (*Shoot) AssignReadyFunc

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

AssignReadyFunc assigns the ready function to the admission handler.

func (*Shoot) SetCoreInformerFactory added in v1.90.0

func (v *Shoot) SetCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)

SetCoreInformerFactory gets Lister from SharedInformerFactory.

func (*Shoot) SetSeedManagementClientSet added in v1.90.0

func (v *Shoot) SetSeedManagementClientSet(c seedmanagementclientset.Interface)

SetSeedManagementClientSet sets the garden seedmanagement clientset.

func (*Shoot) Validate

Validate validates if the ManagedSeed can be deleted.

func (*Shoot) ValidateInitialization

func (v *Shoot) 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