upgrade

package
v3.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdUpgrade

func NewCmdUpgrade() *cobra.Command

NewCmdUpgrade creates a new upgrade command

Types

type UpgradeOptions

type UpgradeOptions struct {
	CommonOptions    *options.CommonOptions
	ClusterCfgFile   string
	Kubernetes       string
	EnableKubeSphere bool
	KubeSphere       string
	SkipPullImages   bool
	DownloadCmd      string
	Artifact         string
}

func NewUpgradeOptions

func NewUpgradeOptions() *UpgradeOptions

func (*UpgradeOptions) AddFlags

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

func (*UpgradeOptions) Complete

func (o *UpgradeOptions) Complete(cmd *cobra.Command, args []string) error

func (*UpgradeOptions) Run

func (o *UpgradeOptions) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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