base

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: 26 Imported by: 0

Documentation

Overview

Package base is responsible for create Jenkins master pod and it's base configuration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareContainerVolumeMounts added in v0.0.10

func CompareContainerVolumeMounts(expected corev1.Container, actual corev1.Container) bool

CompareContainerVolumeMounts returns true if two containers volume mounts are the same

Types

type ReconcileJenkinsBaseConfiguration

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

ReconcileJenkinsBaseConfiguration defines values required for Jenkins base configuration

func New

func New(client client.Client, scheme *runtime.Scheme, logger logr.Logger,
	jenkins *v1alpha1.Jenkins, local, minikube bool) *ReconcileJenkinsBaseConfiguration

New create structure which takes care of base configuration

func (*ReconcileJenkinsBaseConfiguration) Reconcile

Reconcile takes care of base configuration

func (*ReconcileJenkinsBaseConfiguration) Validate

func (r *ReconcileJenkinsBaseConfiguration) Validate(jenkins *v1alpha1.Jenkins) (bool, error)

Validate validates Jenkins CR Spec.master section

Directories

Path Synopsis
Package resources contains Kubernetes resources required by Jenkins
Package resources contains Kubernetes resources required by Jenkins

Jump to

Keyboard shortcuts

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