clusterpipeline

package
v2.0.0-beta2+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const InitGroovy = `` /* 495-byte string literal not displayed */
View Source
const JenkinsApplyConfig = `
mkdir -p /var/jenkins_home/init.groovy.d
cp /var/jenkins_config/init.groovy /var/jenkins_home/init.groovy.d
cp -n /var/jenkins_config/config.xml /var/jenkins_home;
cp /var/jenkins_config/plugins.txt /var/jenkins_home;
rm -rf /usr/share/jenkins/ref/plugins/*.lock
/usr/local/bin/install-plugins.sh ` + "`echo $(cat /var/jenkins_home/plugins.txt)`;"
View Source
const JenkinsConfig = `` /* 3874-byte string literal not displayed */
View Source
const JenkinsPlugins = `
kubernetes:1.1.4
timestamper:1.8.9
workflow-aggregator:2.5
workflow-job:2.17
credentials-binding:1.13
git:3.6.4`

Variables

This section is empty.

Functions

func Register

func Register(cluster *config.UserContext)

Types

type Syncer

type Syncer struct {
	// contains filtered or unexported fields
}

Syncer is responsible for watching cluterpipeline config and enable/disable the pipeline. It creates cattle-pipeline namespace and deploys workloads in it when the pipeline is enabled. It removes cattle-pipeline namespace and cleans up related data when the pipeline is disabled.

func (*Syncer) Sync

func (s *Syncer) Sync(key string, obj *v3.ClusterPipeline) error

Jump to

Keyboard shortcuts

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