base

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 31 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

func GetJenkinsOpts added in v0.2.0

func GetJenkinsOpts(jenkins v1alpha2.Jenkins) map[string]string

GetJenkinsOpts gets JENKINS_OPTS env parameter, parses it's values and returns it as a map`

Types

type ReconcileJenkinsBaseConfiguration

type ReconcileJenkinsBaseConfiguration struct {
	configuration.Configuration
	// contains filtered or unexported fields
}

ReconcileJenkinsBaseConfiguration defines values required for Jenkins base configuration

func New

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 *v1alpha2.Jenkins) ([]string, 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