Version: v1.50.1 Latest Latest

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 27 Imported by: 0




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


This section is empty.


func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.


type ManagedSeed

type ManagedSeed struct {
	// 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) Admit

Admit validates and if appropriate mutates the given managed seed against the shoot that it references.

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

func (v *ManagedSeed) SetInternalCoreInformerFactory(f coreinformers.SharedInformerFactory)

SetInternalCoreInformerFactory gets Lister from SharedInformerFactory.

func (*ManagedSeed) SetKubeInformerFactory

func (v *ManagedSeed) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)

SetKubeInformerFactory gets Lister from SharedInformerFactory.

func (*ManagedSeed) SetSeedManagementClientset

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

SetSeedManagementClientset sets the garden seedmanagement clientset.

func (*ManagedSeed) ValidateInitialization

func (v *ManagedSeed) ValidateInitialization() error

ValidateInitialization checks whether the plugin was correctly initialized.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL