cri

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCri

func NewCmdCri() *cobra.Command

NewCmdCri creates a new Migrate command

func NewCmdMigrateCri

func NewCmdMigrateCri() *cobra.Command

NewCmdMigrateCri creates a new delete cluster command

Types

type MigrateCriOptions

type MigrateCriOptions struct {
	CommonOptions    *options.CommonOptions
	ClusterCfgFile   string
	Kubernetes       string
	EnableKubeSphere bool
	KubeSphere       string
	DownloadCmd      string
	Artifact         string
	Type             string
	Role             string
}

func NewMigrateCriOptions

func NewMigrateCriOptions() *MigrateCriOptions

func (*MigrateCriOptions) AddFlags

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

func (*MigrateCriOptions) Run

func (o *MigrateCriOptions) Run() error

func (*MigrateCriOptions) Validate

func (o *MigrateCriOptions) Validate() error

type MigrateOptions

type MigrateOptions struct {
	CommonOptions *options.CommonOptions
}

func NewMigrateOptions

func NewMigrateOptions() *MigrateOptions

Jump to

Keyboard shortcuts

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