convert

package
v0.0.160 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 23 Imported by: 1

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

	Dir           string
	Namespace     string
	TasksFolder   string
	Format        string
	UseSHA        string
	CatalogSHA    string
	Catalog       bool
	UseKptRef     bool
	TriggerCount  int
	Resolver      *inrepo.UsesResolver
	Processor     *processor.UsesMigrator
	CommandRunner cmdrunner.CommandRunner
	GitClient     gitclient.Interface

	// KptPath is the imported path in the catalog for repository pipelines
	KptPath string
}

Options contains the command line options

func NewCmdPipelineConvert

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

NewCmdPipelineConvert 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

Jump to

Keyboard shortcuts

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