shoot

package
v1.73.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PluginName is the name of this admission plugin.
	PluginName = "ManagedSeedShoot"
)

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) SetInternalCoreInformerFactory

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

SetInternalCoreInformerFactory gets Lister from SharedInformerFactory.

func (*Shoot) SetSeedManagementClientset

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