cmd

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFetchCmd

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

NewFetchCmd create a fetch command

func NewRootCmd

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

NewRootCmd creates a root cmd

Types

type EnvSettings

type EnvSettings struct {
	KubeConfigFile string
	KubeContext    string
	Namespace      string
}

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