Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJenkinsBootstrapper ¶
NewJenkinsBootstrapper returns an admission plugin that will create required jenkins resources as the user if they are needed.
Types ¶
type PluginInitializer ¶
type PluginInitializer struct {
JenkinsPipelineConfig configapi.JenkinsPipelineConfig
}
func (*PluginInitializer) Initialize ¶
func (i *PluginInitializer) Initialize(plugin admission.Interface)
Initialize will check the initialization interfaces implemented by each plugin and provide the appropriate initialization data
type WantsJenkinsPipelineConfig ¶
type WantsJenkinsPipelineConfig interface { SetJenkinsPipelineConfig(jenkinsConfig configapi.JenkinsPipelineConfig) admission.InitializationValidator }
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
Click to show internal directories.
Click to hide internal directories.