jobs

package
v0.0.350 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JenkinsTemplateConfig

type JenkinsTemplateConfig struct {
	Server          string
	Key             string
	XMLTemplateFile string
	XMLTemplateText string
	TemplateData    map[string]interface{}
}

JenkinsTemplateConfig stores the data to render jenkins config files

type Options

type Options struct {
	Dir                string
	ConfigFile         string
	OutDir             string
	DefaultXmlTemplate string
	SourceConfig       v1alpha1.SourceConfig
	JenkinsServers     map[string][]*JenkinsTemplateConfig
}

LabelOptions the options for the command

func NewCmdJenkinsJobs

func NewCmdJenkinsJobs() (*cobra.Command, *Options)

NewCmdJenkinsJobs creates a command object for the command

func (*Options) Run

func (o *Options) Run() error

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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