Documentation ¶
Index ¶
- func NewCmdUpgradeBinary() *cobra.Command
- func NewCmdUpgradeImages() *cobra.Command
- func NewCmdUpgradeKubeSphere() *cobra.Command
- func NewCmdUpgradeNodes() *cobra.Command
- func NewPhaseCommand() *cobra.Command
- type UpgradeBinaryOptions
- type UpgradeImagesOptions
- type UpgradeKubeSphereOptions
- type UpgradeNodesOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdUpgradeBinary ¶
NewCmdUpgradeBinary creates a new artifact import command
func NewCmdUpgradeImages ¶
NewCmdUpgradeImages creates a new upgrade command
func NewCmdUpgradeKubeSphere ¶
NewCmdUpgradeKubeSphere creates a new UpgradeKubeSphere command
func NewCmdUpgradeNodes ¶
NewCmdUpgradeNodes creates a new upgrade command
func NewPhaseCommand ¶
Types ¶
type UpgradeBinaryOptions ¶
type UpgradeBinaryOptions struct { CommonOptions *options.CommonOptions ClusterCfgFile string Kubernetes string DownloadCmd string }
func NewUpgradeBinaryOptions ¶
func NewUpgradeBinaryOptions() *UpgradeBinaryOptions
func (*UpgradeBinaryOptions) AddFlags ¶
func (o *UpgradeBinaryOptions) AddFlags(cmd *cobra.Command)
func (*UpgradeBinaryOptions) Run ¶
func (o *UpgradeBinaryOptions) Run() error
type UpgradeImagesOptions ¶
type UpgradeImagesOptions struct { CommonOptions *options.CommonOptions ClusterCfgFile string Kubernetes string }
func NewUpgradeImagesOptions ¶
func NewUpgradeImagesOptions() *UpgradeImagesOptions
func (*UpgradeImagesOptions) AddFlags ¶
func (o *UpgradeImagesOptions) AddFlags(cmd *cobra.Command)
func (*UpgradeImagesOptions) Run ¶
func (o *UpgradeImagesOptions) Run() error
type UpgradeKubeSphereOptions ¶
type UpgradeKubeSphereOptions struct { CommonOptions *options.CommonOptions ClusterCfgFile string EnableKubeSphere bool KubeSphere string }
func NewUpgradeKubeSphereOptions ¶
func NewUpgradeKubeSphereOptions() *UpgradeKubeSphereOptions
func (*UpgradeKubeSphereOptions) AddFlags ¶
func (o *UpgradeKubeSphereOptions) AddFlags(cmd *cobra.Command)
func (*UpgradeKubeSphereOptions) Complete ¶
func (o *UpgradeKubeSphereOptions) Complete(cmd *cobra.Command, args []string) error
func (*UpgradeKubeSphereOptions) Run ¶
func (o *UpgradeKubeSphereOptions) Run() error
type UpgradeNodesOptions ¶
type UpgradeNodesOptions struct { CommonOptions *options.CommonOptions ClusterCfgFile string Kubernetes string }
func NewUpgradeNodesOptions ¶
func NewUpgradeNodesOptions() *UpgradeNodesOptions
func (*UpgradeNodesOptions) AddFlags ¶
func (o *UpgradeNodesOptions) AddFlags(cmd *cobra.Command)
func (*UpgradeNodesOptions) Run ¶
func (o *UpgradeNodesOptions) Run() error
Click to show internal directories.
Click to hide internal directories.