promote

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 License: Apache-2.0 Imports: 19 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 {
	Version          string
	VersionFile      string
	VersionPrefix    string
	Dir              string
	SourceGitURL     string
	TargetGitURL     string
	PullRequestTitle string
	PullRequestBody  string
	AutoMerge        bool
	environments.EnvironmentPullRequestOptions
}

Options the command line options

func NewCmdArgoPromote

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

NewCmdArgoPromote creates a command object

func (*Options) ModifyApplicationFiles

func (o *Options) ModifyApplicationFiles(dir, repoURL, version string) error

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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