cmd

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResourcesCmd

func NewResourcesCmd(out io.Writer) *cobra.Command

func NewRootCmd

func NewRootCmd(out io.Writer, args []string) *cobra.Command

Types

type EnvSettings

type EnvSettings struct {
	KubeConfigFile string
	KubeContext    string
	Namespace      string
}
var Settings *EnvSettings

func (*EnvSettings) AddFlags

func (e *EnvSettings) AddFlags(fs *pflag.FlagSet)

AddFlags binds flags to the given flagset

Jump to

Keyboard shortcuts

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