Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdUpgrade ¶
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
Click to show internal directories.
Click to hide internal directories.