Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PluginName is the name of this admission plugin.
PluginName = "ShootSeedManager"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SeedManager ¶
SeedManager contains listers and and admission handler.
func (*SeedManager) Admit ¶
func (h *SeedManager) Admit(a admission.Attributes) error
Admit tries to find an adequate Seed cluster for the given cloud provider profile and region, and writes the name into the Shoot specification. It also ensures that protected Seeds are only usable by Shoots in the garden namespace.
func (*SeedManager) SetInternalGardenInformerFactory ¶
func (h *SeedManager) SetInternalGardenInformerFactory(f gardeninformers.SharedInformerFactory)
SetInternalGardenInformerFactory gets Lister from SharedInformerFactory.
func (*SeedManager) ValidateInitialization ¶
func (h *SeedManager) ValidateInitialization() error
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.