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 (s *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) AssignReadyFunc ¶
func (s *SeedManager) AssignReadyFunc(f admission.ReadyFunc)
AssignReadyFunc assigns the ready function to the admission handler.
func (*SeedManager) SetInternalGardenInformerFactory ¶
func (s *SeedManager) SetInternalGardenInformerFactory(f gardeninformers.SharedInformerFactory)
SetInternalGardenInformerFactory gets Lister from SharedInformerFactory.
func (*SeedManager) ValidateInitialization ¶
func (s *SeedManager) ValidateInitialization() error
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.