delete

package
v3.4.0-beta.15 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MPL-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeleteCmd

func NewDeleteCmd(globalFlags *flags.GlobalFlags, defaults *defaults.Defaults) *cobra.Command

NewDeleteCmd creates a new cobra command

func NewSpaceCmd

func NewSpaceCmd(globalFlags *flags.GlobalFlags, defaults *pdefaults.Defaults) *cobra.Command

NewSpaceCmd creates a new command

func NewVirtualClusterCmd

func NewVirtualClusterCmd(globalFlags *flags.GlobalFlags, defaults *pdefaults.Defaults) *cobra.Command

NewVirtualClusterCmd creates a new command

Types

type SpaceCmd

type SpaceCmd struct {
	*flags.GlobalFlags

	Cluster       string
	Project       string
	DeleteContext bool
	Wait          bool

	Log log.Logger
}

SpaceCmd holds the cmd flags

func (*SpaceCmd) Run

func (cmd *SpaceCmd) Run(ctx context.Context, args []string) error

Run executes the command

type VirtualClusterCmd

type VirtualClusterCmd struct {
	*flags.GlobalFlags

	Space         string
	Cluster       string
	Project       string
	DeleteContext bool
	DeleteSpace   bool
	Wait          bool

	Log log.Logger
}

VirtualClusterCmd holds the cmd flags

func (*VirtualClusterCmd) Run

func (cmd *VirtualClusterCmd) Run(ctx context.Context, args []string) error

Run executes the command

Jump to

Keyboard shortcuts

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