managedseed

package
v1.71.3 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 18 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 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 gardencoreclientset.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 changes to the Shoot referenced by a ManagedSeed.

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