jenkins

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: Apache-2.0, CC-BY-4.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIVersion    = "core/v1"
	PodKind       = "Pod"
	SecretKind    = "Secret"
	ConfigMapKind = "ConfigMap"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, jenkinsAPIConnectionSettings jenkinsclient.JenkinsAPIConnectionSettings, kubernetesClusterDomain string, clientSet kubernetes.Clientset, config rest.Config, notificationEvents *chan event.Event) error

Add creates a newReconcilierConfiguration Jenkins Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileJenkins

type ReconcileJenkins struct {
	KubernetesClusterDomain string
	// contains filtered or unexported fields
}

ReconcileJenkins reconciles a Jenkins object.

func (*ReconcileJenkins) Reconcile

func (r *ReconcileJenkins) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile it's a main reconciliation loop which maintain desired state based on Jenkins.Spec.

Jump to

Keyboard shortcuts

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