importcmd

package
v0.0.134 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 24 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

	Dir                string
	ToDir              string
	CatalogURL         string
	CatalogDir         string
	TaskFolder         string
	TaskVersion        string
	TaskFilter         string
	KptBinary          string
	ReleaseBranches    []string
	NoTrigger          bool
	GitClient          gitclient.Interface
	CommandRunner      cmdrunner.CommandRunner
	QuietCommandRunner cmdrunner.CommandRunner
	Input              input.Interface
}

Options contains the command line options

func NewCmdPipelineImport

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

NewCmdPipelineImport creates the command

func (*Options) Git

func (o *Options) Git() gitclient.Interface

Git returns the git client lazy creating one if it does not exist

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