Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LoopbackClientConfig *rest.Config ExternalInformers externalinformers.SharedInformerFactory }
Config holds the configuration needed to for initialize the admission plugins
func (*Config) New ¶
func (c *Config) New(proxyTransport *http.Transport, egressSelector *egressselector.EgressSelector, serviceResolver webhook.ServiceResolver, tp trace.TracerProvider) ([]admission.PluginInitializer, error)
New sets up the plugins and admission start hooks needed for admission
type PluginInitializer ¶
type PluginInitializer struct {
// contains filtered or unexported fields
}
PluginInitializer is used for initialization of the generic controlplane admission plugins.
func NewPluginInitializer ¶
func NewPluginInitializer( quotaConfiguration quota.Configuration, excludedAdmissionResources []schema.GroupResource, ) *PluginInitializer
NewPluginInitializer constructs new instance of PluginInitializer
func (*PluginInitializer) Initialize ¶
func (i *PluginInitializer) Initialize(plugin admission.Interface)
Initialize checks the initialization interfaces implemented by each plugin and provide the appropriate initialization data
Click to show internal directories.
Click to hide internal directories.