start

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	options.BaseOptions

	Args                []string
	Output              string
	Filter              string
	Branch              string
	PipelineKind        string
	LighthouseConfigMap string
	ServiceAccount      string
	Namespace           string
	GitUsername         string
	GitToken            string
	Wait                bool
	Tail                bool
	WaitDuration        time.Duration
	PollPeriod          time.Duration
	KubeClient          kubernetes.Interface
	JXClient            versioned.Interface
	LHClient            lhclient.Interface
	Input               input.Interface

	// meta pipeline options
	Context          string
	CustomLabels     []string
	CustomEnvs       []string
	CustomParameters []string

	// ScmClients cache of Scm Clients mostly used for testing
	ScmClients map[string]*scm.Client
	// contains filtered or unexported fields
}

Options contains the command line options

func NewCmdPipelineStart

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

NewCmdPipelineStart creates the command

func (*Options) Run

func (o *Options) Run() error

Run implements this command

func (*Options) Validate

func (o *Options) Validate() error

Validate verifies things are setup correctly

Jump to

Keyboard shortcuts

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