phase

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdUpgradeBinary

func NewCmdUpgradeBinary() *cobra.Command

NewCmdUpgradeBinary creates a new artifact import command

func NewCmdUpgradeImages

func NewCmdUpgradeImages() *cobra.Command

NewCmdUpgrade creates a new upgrade command

func NewCmdUpgradeKubeSphere

func NewCmdUpgradeKubeSphere() *cobra.Command

NewCmdUpgradeKubeSphere creates a new UpgradeKubeSphere command

func NewCmdUpgradeNodes

func NewCmdUpgradeNodes() *cobra.Command

NewCmdUpgrade creates a new upgrade command

func NewPhaseCommand

func NewPhaseCommand() *cobra.Command

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

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

Jump to

Keyboard shortcuts

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