create

package
v3.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreate

func NewCmdCreate() *cobra.Command

NewCmdCreate creates a new create command

func NewCmdCreateCluster

func NewCmdCreateCluster() *cobra.Command

NewCmdCreateCluster creates a new create cluster command

func NewCmdCreateConfig

func NewCmdCreateConfig() *cobra.Command

NewCmdCreateConfig creates a create config command

func NewCmdCreateManifest

func NewCmdCreateManifest() *cobra.Command

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

func (*CreateClusterOptions) Validate

func (o *CreateClusterOptions) Validate(_ *cobra.Command, _ []string) 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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