override

package
v0.0.123 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 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 Options

type Options struct {
	options.BaseOptions
	lighthouses.ResolverOptions

	File         string
	Namespace    string
	CatalogSHA   string
	TriggerName  string
	PipelineName string
	Step         string
	Resolver     *inrepo.UsesResolver
	Triggers     []*Trigger
	Input        input.Interface
}

Options contains the command line options

func NewCmdPipelineOverride

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

NewCmdPipelineOverride creates the command

func (*Options) ProcessDir

func (o *Options) ProcessDir(dir string) error

func (*Options) Run

func (o *Options) Run() error

Run implements this command

func (*Options) Validate

func (o *Options) Validate() error

Validate verifies settings

type Trigger

type Trigger struct {
	Path      string
	Config    *triggerconfig.Config
	Names     []string
	Pipelines map[string]string
}

Trigger the found trigger configs

Jump to

Keyboard shortcuts

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