shoot

package
v1.60.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 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 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 coreinformers.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 Shoot can be deleted. If the

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