Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreateCluster ¶
NewCmdCreateCluster creates a new create cluster command
func NewCmdCreateConfig ¶
NewCmdCreateConfig creates a create config command
func NewCmdCreateManifest ¶
NewCmdCreateManifest creates a create manifest command
Types ¶
type CreateClusterOptions ¶
type CreateClusterOptions struct { CommonOptions *options.CommonOptions ClusterCfgFile string Kubernetes string EnableKubeSphere bool KubeSphere string LocalStorage bool SkipPullImages bool SkipPushImages bool SecurityEnhancement bool ContainerManager string DownloadCmd string Artifact string InstallPackages bool // contains filtered or unexported fields }
func NewCreateClusterOptions ¶
func NewCreateClusterOptions() *CreateClusterOptions
func (*CreateClusterOptions) AddFlags ¶
func (o *CreateClusterOptions) AddFlags(cmd *cobra.Command)
func (*CreateClusterOptions) Complete ¶
func (o *CreateClusterOptions) Complete(cmd *cobra.Command, args []string) error
func (*CreateClusterOptions) Run ¶
func (o *CreateClusterOptions) Run() error
type CreateConfigOptions ¶
type CreateConfigOptions struct { CommonOptions *options.CommonOptions Name string ClusterCfgFile string Kubernetes string EnableKubeSphere bool KubeSphere string FromCluster bool KubeConfig string }
func NewCreateConfigOptions ¶
func NewCreateConfigOptions() *CreateConfigOptions
func (*CreateConfigOptions) AddFlags ¶
func (o *CreateConfigOptions) AddFlags(cmd *cobra.Command)
func (*CreateConfigOptions) Complete ¶
func (o *CreateConfigOptions) Complete(cmd *cobra.Command, args []string) error
func (*CreateConfigOptions) Run ¶
func (o *CreateConfigOptions) Run() error
type CreateManifestOptions ¶
type CreateManifestOptions struct { CommonOptions *options.CommonOptions Name string KubeConfig string FileName string Kubernetes string Arch []string // contains filtered or unexported fields }
func NewCreateManifestOptions ¶
func NewCreateManifestOptions() *CreateManifestOptions
func (*CreateManifestOptions) AddFlags ¶
func (o *CreateManifestOptions) AddFlags(cmd *cobra.Command)
func (*CreateManifestOptions) Complete ¶
func (o *CreateManifestOptions) Complete(cmd *cobra.Command, args []string) error
func (*CreateManifestOptions) Run ¶
func (o *CreateManifestOptions) Run() error
type CreateOptions ¶
type CreateOptions struct {
CommonOptions *options.CommonOptions
}
func NewCreateOptions ¶
func NewCreateOptions() *CreateOptions
Click to show internal directories.
Click to hide internal directories.