start

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: Apache-2.0 Imports: 43 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
	lighthouses.ResolverOptions

	Args                []string
	Output              string
	Filter              string
	Branch              string
	PipelineKind        string
	LighthouseConfigMap string
	ServiceAccount      string
	Namespace           string
	GitUsername         string
	GitToken            string
	CatalogSHA          string
	File                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

	// file based starter
	Resolver      *inrepo.UsesResolver
	GitClient     gitclient.Interface
	CommandRunner cmdrunner.CommandRunner
	// 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