add

package
v2.1.155 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdAdd

func NewCmdAdd(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdAdd creates a command object for the "add" command

func NewCmdAddApp

func NewCmdAddApp(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdAddApp creates a command object for the "create" command

Types

type AddAppOptions

type AddAppOptions struct {
	AddOptions

	GitOps bool
	DevEnv *jenkinsv1.Environment

	Repo        string
	Username    string
	Password    string
	Alias       string
	Prefixes    []string
	Namespace   string
	Version     string
	ReleaseName string
	SetValues   []string
	ValuesFiles []string
	HelmUpdate  bool
	AutoMerge   bool

	// Used for testing
	CloneDir string
}

AddAppOptions the options for the create spring command

func (*AddAppOptions) Run

func (o *AddAppOptions) Run() error

Run implements this command

type AddOptions

type AddOptions struct {
	*opts.CommonOptions

	DisableImport bool
	OutDir        string
}

AddOptions contains the command line options

func (*AddOptions) Run

func (o *AddOptions) Run() error

Run implements this command

Jump to

Keyboard shortcuts

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