managedseed

package
v1.23.2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 13 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.

Types

type ManagedSeed

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

ManagedSeed contains listers and and admission handler.

func New

func New() (*ManagedSeed, error)

New creates a new ManagedSeed admission plugin.

func (*ManagedSeed) AssignReadyFunc

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

AssignReadyFunc assigns the ready function to the admission handler.

func (*ManagedSeed) SetInternalCoreClientset

func (v *ManagedSeed) SetInternalCoreClientset(c coreclientset.Interface)

SetInternalCoreClientset sets the garden core clientset.

func (*ManagedSeed) SetSeedManagementClientset

func (v *ManagedSeed) SetSeedManagementClientset(c seedmanagementclientset.Interface)

SetSeedManagementClientset sets the garden seedmanagement clientset.

func (*ManagedSeed) Validate

Validate validates if the Shoot can be deleted. If the

func (*ManagedSeed) ValidateInitialization

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