pipeline

package
v0.0.70 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: Apache-2.0 Imports: 20 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 {
	Dir              string
	ConfigFile       string
	Filter           string
	KptBinary        string
	Strategy         string
	HomeDir          string
	PullRequestTitle string
	PullRequestBody  string
	AutoMerge        bool
	NoConvert        bool
	environments.EnvironmentPullRequestOptions
}

Options the command line options

func NewCmdUpgradePipeline

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

NewCmdUpgradePipeline creates a command object

func (*Options) LoadSourceConfig

func (o *Options) LoadSourceConfig() (*v1alpha1.SourceConfig, error)

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) UpgradeRepository

func (o *Options) UpgradeRepository(config *v1alpha1.SourceConfig, group *v1alpha1.RepositoryGroup, repo *v1alpha1.Repository) error

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