Documentation ¶
Index ¶
- Constants
- func Register(plugins *admission.Plugins)
- type DNS
- func (d *DNS) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
- func (d *DNS) AssignReadyFunc(f admission.ReadyFunc)
- func (d *DNS) SetInternalCoreInformerFactory(f coreinformers.SharedInformerFactory)
- func (d *DNS) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)
- func (d *DNS) ValidateInitialization() error
Constants ¶
View Source
const (
// PluginName is the name of this admission plugin.
PluginName = "ShootDNS"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DNS ¶
DNS contains listers and and admission handler.
func (*DNS) Admit ¶
func (d *DNS) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
Admit tries to determine a DNS hosted zone for the Shoot's external domain.
func (*DNS) AssignReadyFunc ¶
AssignReadyFunc assigns the ready function to the admission handler.
func (*DNS) SetInternalCoreInformerFactory ¶
func (d *DNS) SetInternalCoreInformerFactory(f coreinformers.SharedInformerFactory)
SetInternalCoreInformerFactory gets Lister from SharedInformerFactory.
func (*DNS) SetKubeInformerFactory ¶
func (d *DNS) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)
SetKubeInformerFactory gets Lister from SharedInformerFactory.
func (*DNS) ValidateInitialization ¶
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.