Documentation ¶
Index ¶
- Constants
- func Register(plugins *admission.Plugins)
- type ExposureClass
- func (e *ExposureClass) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
- func (e *ExposureClass) AssignReadyFunc(f admission.ReadyFunc)
- func (e *ExposureClass) SetExternalCoreInformerFactory(f externalcoreinformers.SharedInformerFactory)
- func (e *ExposureClass) ValidateInitialization() error
Constants ¶
View Source
const (
// PluginName is the name of this admission plugin.
PluginName = "ShootExposureClass"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExposureClass ¶
ExposureClass contains listers and admission handler.
func (*ExposureClass) Admit ¶
func (e *ExposureClass) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
Admit unite the seed selector and/or tolerations of a Shoot resource with the ones from the referenced ExposureClass.
func (*ExposureClass) AssignReadyFunc ¶
func (e *ExposureClass) AssignReadyFunc(f admission.ReadyFunc)
AssignReadyFunc assigns the ready function to the admission handler.
func (*ExposureClass) SetExternalCoreInformerFactory ¶
func (e *ExposureClass) SetExternalCoreInformerFactory(f externalcoreinformers.SharedInformerFactory)
SetExternalCoreInformerFactory sets the external garden core informer factory.
func (*ExposureClass) ValidateInitialization ¶
func (e *ExposureClass) ValidateInitialization() error
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.