delete

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDelete

func NewCmdDelete() *cobra.Command

NewCmdDelete creates a new delete command

func NewCmdDeleteCluster

func NewCmdDeleteCluster() *cobra.Command

NewCmdDeleteCluster creates a new delete cluster command

func NewCmdDeleteNode

func NewCmdDeleteNode() *cobra.Command

NewCmdDeleteNode creates a new delete node command

Types

type DeleteClusterOptions

type DeleteClusterOptions struct {
	CommonOptions  *options.CommonOptions
	ClusterCfgFile string
	Kubernetes     string
	DeleteCRI      bool
}

func NewDeleteClusterOptions

func NewDeleteClusterOptions() *DeleteClusterOptions

func (*DeleteClusterOptions) AddFlags

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

func (*DeleteClusterOptions) Run

func (o *DeleteClusterOptions) Run() error

type DeleteNodeOptions

type DeleteNodeOptions struct {
	CommonOptions  *options.CommonOptions
	ClusterCfgFile string
	// contains filtered or unexported fields
}

func NewDeleteNodeOptions

func NewDeleteNodeOptions() *DeleteNodeOptions

func (*DeleteNodeOptions) AddFlags

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

func (*DeleteNodeOptions) Complete

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

func (*DeleteNodeOptions) Run

func (o *DeleteNodeOptions) Run() error

func (*DeleteNodeOptions) Validate

func (o *DeleteNodeOptions) Validate() error

type DeleteOptions

type DeleteOptions struct {
	CommonOptions *options.CommonOptions
}

func NewDeleteOptions

func NewDeleteOptions() *DeleteOptions

Jump to

Keyboard shortcuts

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