jenkins

package
v3.8.27-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 6, 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) *PipelineTemplate

NewPipelineTemplate returns a new PipelineTemplate.

func (*PipelineTemplate) HasJenkinsService

func (t *PipelineTemplate) HasJenkinsService(items *kapi.List) 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() (*kapi.List, []error)

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