casc

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

Documentation

Overview

Package casc configures Jenkins with help Configuration as a code plugin

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurationAsCode

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

ConfigurationAsCode defines API which configures Jenkins with help Configuration as a code plugin

func New

func New(jenkinsClient jenkinsclient.Jenkins, k8sClient k8s.Client, logger logr.Logger, jobName string) *ConfigurationAsCode

New creates new instance of ConfigurationAsCode

func (*ConfigurationAsCode) ConfigureJob

func (g *ConfigurationAsCode) ConfigureJob() error

ConfigureJob configures jenkins job which configures Jenkins with help Configuration as a code plugin

func (*ConfigurationAsCode) Ensure

func (g *ConfigurationAsCode) Ensure(jenkins *v1alpha1.Jenkins) (bool, error)

Ensure configures Jenkins with help Configuration as a code plugin

Jump to

Keyboard shortcuts

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