seedjobs

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Overview

Package seedjobs implements seed jobs configuration

Index

Constants

View Source
const (
	// ConfigureSeedJobsName this is the fixed seed job name
	ConfigureSeedJobsName = constants.OperatorName + "-configure-seed-job"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SeedJobs

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

SeedJobs defines API for configuring and ensuring Jenkins Seed Jobs and Deploy Keys

func New

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

New creates SeedJobs object

func (*SeedJobs) EnsureSeedJobs

func (s *SeedJobs) EnsureSeedJobs(jenkins *virtuslabv1alpha1.Jenkins) (done bool, err error)

EnsureSeedJobs configures seed job and runs it for every entry from Jenkins.Spec.SeedJobs

Jump to

Keyboard shortcuts

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