debug

package
v0.0.0-...-f2569be Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DebugCmd = &cobra.Command{
	Use:   "debug",
	Short: "debug alpha feature",
	Run: func(cmd *cobra.Command, args []string) {
		if err := run(&options); err != nil {
			fmt.Printf("debug error: %s", err.Error())
			os.Exit(1)
		}
	},
}

DebugCmd is only for debug

Functions

This section is empty.

Types

type Options

type Options struct {
	Kubeconfig string
}

Options is the combined set of options for all operating modes.

func (*Options) AddFlags

func (options *Options) AddFlags(fs *pflag.FlagSet)

AddFlags will add the flag to the pflag.FlagSet

Jump to

Keyboard shortcuts

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