upgrade

package
v0.0.93 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpgradeOptions

type UpgradeOptions struct {
	envfactory.EnvFactory

	OverrideRequirements config.RequirementsConfig
	Namespace            string
	GitCloneURL          string
	InitialGitURL        string
	Dir                  string

	UsePullRequest bool
	NoCommit       bool
	// contains filtered or unexported fields
}

UpgradeOptions the options for upgrading a cluster

func NewCmdUpgrade

func NewCmdUpgrade() (*cobra.Command, *UpgradeOptions)

NewCmdUpgrade creates a command object for the command

func (*UpgradeOptions) AddUpgradeOptions

func (o *UpgradeOptions) AddUpgradeOptions(cmd *cobra.Command)

func (*UpgradeOptions) Run

func (o *UpgradeOptions) Run() error

Run implements the command

Jump to

Keyboard shortcuts

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