jenkins

package
v3.11.18-1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

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, dynamicClient dynamic.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

Process processes the Jenkins template. If an error occurs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL