Help us shape the future of Go! Take the 2026 Go Developer Survey

shoot

package
v1.87.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 16 Imported by: 1

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