jenkins

package
v1.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2016 License: Apache-2.0 Imports: 15 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, kubeClient *kclient.Client, osClient *client.Client) *PipelineTemplate

NewPipelineTemplate returns a new PipelineTemplate.

func (*PipelineTemplate) Instantiate

func (t *PipelineTemplate) Instantiate(list *kapi.List) []error

Instantiate instantiates the Jenkins template in the target namespace.

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