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 OriginQuotaRegistry quota.Registry Authorizer authorizer.Authorizer JenkinsPipelineConfig configapi.JenkinsPipelineConfig RESTClientConfig restclient.Config }
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 WantsJenkinsPipelineConfig ¶ added in v1.3.0
type WantsJenkinsPipelineConfig interface {
SetJenkinsPipelineConfig(jenkinsConfig configapi.JenkinsPipelineConfig)
}
WantsJenkinsPipelineConfig gives access to the JenkinsPipelineConfig. This is a historical oddity. It's likely that what we really wanted was this as an admission plugin config
type WantsOpenshiftClient ¶
WantsOpenshiftClient should be implemented by admission plugins that need an Openshift client
type WantsOriginQuotaRegistry ¶ added in v1.3.0
WantsQuotaRegistry should be implemented by admission plugins that need a quota registry
type WantsProjectCache ¶
type WantsProjectCache interface {
SetProjectCache(*cache.ProjectCache)
}
WantsProjectCache should be implemented by admission plugins that need a project cache
type WantsRESTClientConfig ¶ added in v1.3.0
type WantsRESTClientConfig interface {
SetRESTClientConfig(restclient.Config)
}
WantsRESTClientConfig gives access to a RESTClientConfig. It's useful for doing unusual things with transports.