jenkins

package
v3.7.0-0.126.4+incompa... Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2017 License: Apache-2.0 Imports: 11 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, osClient client.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