delete

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDelete

func NewCmdDelete(streams options.IOStreams) *cobra.Command

func ValidArgsFunction

func ValidArgsFunction(o *DeleteOptions) func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

Types

type BaseOptions

type BaseOptions struct {
	PrintFlags *printer.PrintFlags
	CliOpts    *options.CliOptions
	options.IOStreams
	Client *kc.Client
}

type DeleteOptions

type DeleteOptions struct {
	BaseOptions
	// contains filtered or unexported fields
}

func NewDeleteOptions

func NewDeleteOptions(streams options.IOStreams) *DeleteOptions

func (*DeleteOptions) Complete

func (l *DeleteOptions) Complete(opts *options.CliOptions) error

func (*DeleteOptions) RunDelete

func (l *DeleteOptions) RunDelete() error

func (*DeleteOptions) ValidateArgs

func (l *DeleteOptions) ValidateArgs(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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