effective

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 27 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
	DiscoverScm scmhelpers.Options

	File          string
	Namespace     string
	OutFile       string
	TriggerName   string
	PipelineName  string
	Editor        string
	Line          string
	Recursive     bool
	AddDefaults   bool
	Resolver      *inrepo.UsesResolver
	Triggers      []*Trigger
	Input         input.Interface
	CommandRunner cmdrunner.CommandRunner
}

Options contains the command line options

func NewCmdPipelineEffective

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

NewCmdPipelineEffective 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
	Paths  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