Documentation ¶
Index ¶
- func NewCmdConfigOS() *cobra.Command
- func NewCmdCreateBinary() *cobra.Command
- func NewCmdCreateConfigureKubernetes() *cobra.Command
- func NewCmdCreateEtcd() *cobra.Command
- func NewCmdCreateImages() *cobra.Command
- func NewCmdCreateInitCluster() *cobra.Command
- func NewCmdCreateJoinNodes() *cobra.Command
- func NewCmdCreateKubeSphere() *cobra.Command
- func NewPhaseCommand() *cobra.Command
- type ConfigOSOptions
- type CreateBinaryOptions
- type CreateConfigureKubernetesOptions
- type CreateEtcdOptions
- type CreateImagesOptions
- type CreateInitClusterOptions
- type CreateJoinNodesOptions
- type CreateKubeSphereOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdConfigOS ¶
NewCmdConfigOS creates a new init os command
func NewCmdCreateBinary ¶
NewCmdCreateBinary creates a new artifact import command
func NewCmdCreateConfigureKubernetes ¶
NewCmdCreateConfigureKubernetes creates a new CreateConfigureKubernetes command
func NewCmdCreateEtcd ¶
NewCmdCreateEtcd creates a new install etcd command
func NewCmdCreateImages ¶
NewCmdCreateImages creates a new Images command
func NewCmdCreateInitCluster ¶
NewCmdUpgrade creates a new upgrade command
func NewCmdCreateJoinNodes ¶
NewCmdCreateJoinNodes creates a new join nodes phase command
func NewCmdCreateKubeSphere ¶
NewCmdCreateKubeSphere creates a new CreateKubeSphere command
func NewPhaseCommand ¶
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 (o *CreateConfigureKubernetesOptions) AddFlags(cmd *cobra.Command)
func (*CreateConfigureKubernetesOptions) Complete ¶
func (o *CreateConfigureKubernetesOptions) Complete(cmd *cobra.Command, args []string) error
func (*CreateConfigureKubernetesOptions) Run ¶
func (o *CreateConfigureKubernetesOptions) Run() error
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
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 ¶
func (o *CreateInitClusterOptions) Run() error
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
Click to show internal directories.
Click to hide internal directories.