constants

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OperatorName is a operator name
	OperatorName = "jenkins-operator"
	// DefaultAmountOfExecutors is the default amount of Jenkins executors
	DefaultAmountOfExecutors = 3
	// SeedJobSuffix is a suffix added for all seed jobs
	SeedJobSuffix = "job-dsl-seed"
	// DefaultJenkinsMasterImage is the default Jenkins master docker image
	DefaultJenkinsMasterImage = "jenkins/jenkins:lts"
	// UserConfigurationJobName is the Jenkins job name used to configure Jenkins by groovy scripts provided by user
	UserConfigurationJobName = OperatorName + "-user-configuration"
	// UserConfigurationCASCJobName is the Jenkins job name used to configure Jenkins by Configuration as code yaml configs provided by user
	UserConfigurationCASCJobName = OperatorName + "-user-configuration-casc"
	// DefaultHTTPPortInt32 is the default Jenkins HTTP port
	DefaultHTTPPortInt32 = int32(8080)
	// DefaultSlavePortInt32 is the default Jenkins port for slaves
	DefaultSlavePortInt32 = int32(50000)
)
View Source
const (
	// LabelAppKey application Kubernetes label name
	LabelAppKey = "app"
	// LabelAppValue application Kubernetes label value
	LabelAppValue = OperatorName

	// LabelWatchKey Kubernetes label used to enable watch for reconcile loop
	LabelWatchKey = "watch"
	// LabelWatchValue Kubernetes label value to enable watch for reconcile loop
	LabelWatchValue = "true"

	// LabelJenkinsCRKey Kubernetes label name which contains Jenkins CR name
	LabelJenkinsCRKey = "jenkins-cr"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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