Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PluginInitializer ¶
type PluginInitializer struct { OpenshiftClient client.Interface ProjectCache *cache.ProjectCache Authorizer authorizer.Authorizer }
func (*PluginInitializer) Initialize ¶
func (i *PluginInitializer) Initialize(plugins []admission.Interface)
Initialize will check the initialization interfaces implemented by each plugin and provide the appropriate initialization data
type Validator ¶
type Validator interface {
Validate() error
}
Validator should be implemented by admission plugins that can validate themselves after initialization has happened.
type WantsAuthorizer ¶ added in v1.1.4
type WantsAuthorizer interface {
SetAuthorizer(authorizer.Authorizer)
}
WantsAuthorizer should be implemented by admission plugins that need access to the Authorizer interface
type WantsOpenshiftClient ¶
WantsOpenshiftClient should be implemented by admission plugins that need an Openshift client
type WantsProjectCache ¶
type WantsProjectCache interface {
SetProjectCache(*cache.ProjectCache)
}
WantsProjectCache should be implemented by admission plugins that need a project cache
Click to show internal directories.
Click to hide internal directories.