Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PipelineTemplate ¶
type PipelineTemplate struct { Config serverapi.JenkinsPipelineConfig Namespace string // contains filtered or unexported fields }
PipelineTemplate stores the configuration of the PipelineStrategy template, used to instantiate the Jenkins service in given namespace.
func NewPipelineTemplate ¶
func NewPipelineTemplate(ns string, conf serverapi.JenkinsPipelineConfig, templateClient templateclient.Interface) *PipelineTemplate
NewPipelineTemplate returns a new PipelineTemplate.
func (*PipelineTemplate) HasJenkinsService ¶
func (t *PipelineTemplate) HasJenkinsService(items *unstructured.UnstructuredList) bool
HasJenkinsService searches the template items and return true if the expected Jenkins service is contained in template.
func (*PipelineTemplate) Process ¶
func (t *PipelineTemplate) Process() (*unstructured.UnstructuredList, []error)
Process processes the Jenkins template. If an error occurs
Click to show internal directories.
Click to hide internal directories.