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: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdConfigOS

func NewCmdConfigOS() *cobra.Command

NewCmdConfigOS creates a new init os command

func NewCmdCreateBinary

func NewCmdCreateBinary() *cobra.Command

NewCmdCreateBinary creates a new artifact import command

func NewCmdCreateConfigureKubernetes

func NewCmdCreateConfigureKubernetes() *cobra.Command

NewCmdCreateConfigureKubernetes creates a new CreateConfigureKubernetes command

func NewCmdCreateEtcd

func NewCmdCreateEtcd() *cobra.Command

NewCmdCreateEtcd creates a new install etcd command

func NewCmdCreateImages

func NewCmdCreateImages() *cobra.Command

NewCmdCreateImages creates a new Images command

func NewCmdCreateInitCluster

func NewCmdCreateInitCluster() *cobra.Command

NewCmdUpgrade creates a new upgrade command

func NewCmdCreateJoinNodes

func NewCmdCreateJoinNodes() *cobra.Command

NewCmdCreateJoinNodes creates a new join nodes phase command

func NewCmdCreateKubeSphere

func NewCmdCreateKubeSphere() *cobra.Command

NewCmdCreateKubeSphere creates a new CreateKubeSphere command

func NewPhaseCommand

func NewPhaseCommand() *cobra.Command

Types

type ConfigOSOptions

type ConfigOSOptions struct {
	CommonOptions   *options.CommonOptions
	ClusterCfgFile  string
	InstallPackages bool
}

func NewConfigOSOptions

func NewConfigOSOptions() *ConfigOSOptions

func (*ConfigOSOptions) AddFlags

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

func (*ConfigOSOptions) Run

func (o *ConfigOSOptions) Run() error

type CreateBinaryOptions

type CreateBinaryOptions struct {
	CommonOptions  *options.CommonOptions
	ClusterCfgFile string
	Kubernetes     string
	DownloadCmd    string
}

func NewCreateBinaryOptions

func NewCreateBinaryOptions() *CreateBinaryOptions

func (*CreateBinaryOptions) AddFlags

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

func (*CreateBinaryOptions) Run

func (o *CreateBinaryOptions) Run() error

type CreateConfigureKubernetesOptions

type CreateConfigureKubernetesOptions struct {
	CommonOptions  *options.CommonOptions
	ClusterCfgFile string
	Kubernetes     string
	LocalStorage   bool
	// contains filtered or unexported fields
}

func NewCreateConfigureKubernetesOptions

func NewCreateConfigureKubernetesOptions() *CreateConfigureKubernetesOptions

func (*CreateConfigureKubernetesOptions) AddFlags

func (*CreateConfigureKubernetesOptions) Complete

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

func (*CreateConfigureKubernetesOptions) Run

type CreateEtcdOptions

type CreateEtcdOptions struct {
	CommonOptions  *options.CommonOptions
	ClusterCfgFile string
}

func NewCreateEtcdOptions

func NewCreateEtcdOptions() *CreateEtcdOptions

func (*CreateEtcdOptions) AddFlags

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

func (*CreateEtcdOptions) Run

func (o *CreateEtcdOptions) Run() error

type CreateImagesOptions

type CreateImagesOptions struct {
	CommonOptions    *options.CommonOptions
	ClusterCfgFile   string
	Kubernetes       string
	ContainerManager string
}

func NewCreateImagesOptions

func NewCreateImagesOptions() *CreateImagesOptions

func (*CreateImagesOptions) AddFlags

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

func (*CreateImagesOptions) Run

func (o *CreateImagesOptions) Run() error

func (*CreateImagesOptions) Validate

func (o *CreateImagesOptions) Validate(_ *cobra.Command, _ []string) error

type CreateInitClusterOptions

type CreateInitClusterOptions struct {
	CommonOptions  *options.CommonOptions
	ClusterCfgFile string
	Kubernetes     string
}

func NewCreateInitClusterOptions

func NewCreateInitClusterOptions() *CreateInitClusterOptions

func (*CreateInitClusterOptions) AddFlags

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

func (*CreateInitClusterOptions) Run

type CreateJoinNodesOptions

type CreateJoinNodesOptions struct {
	CommonOptions  *options.CommonOptions
	ClusterCfgFile string
	Kubernetes     string
}

func NewCreateJoinNodesOptions

func NewCreateJoinNodesOptions() *CreateJoinNodesOptions

func (*CreateJoinNodesOptions) AddFlags

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

func (*CreateJoinNodesOptions) Run

func (o *CreateJoinNodesOptions) Run() error

type CreateKubeSphereOptions

type CreateKubeSphereOptions struct {
	CommonOptions    *options.CommonOptions
	ClusterCfgFile   string
	EnableKubeSphere bool
	KubeSphere       string
}

func NewCreateKubeSphereOptions

func NewCreateKubeSphereOptions() *CreateKubeSphereOptions

func (*CreateKubeSphereOptions) AddFlags

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

func (*CreateKubeSphereOptions) Complete

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

func (*CreateKubeSphereOptions) Run

func (o *CreateKubeSphereOptions) Run() error

Jump to

Keyboard shortcuts

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