Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalFlags ¶
type GlobalFlags struct {
Silent bool
NoWarn bool
Debug bool
Namespace string
KubeContext string
Profile string
Vars []string
SwitchContext bool
}
GlobalFlags is the flags that contains the global flags
func SetGlobalFlags ¶
func SetGlobalFlags(flags *flag.FlagSet) *GlobalFlags
SetGlobalFlags applies the global flags
func (*GlobalFlags) ToConfigOptions ¶
func (gf *GlobalFlags) ToConfigOptions() *loader.ConfigOptions
ToConfigOptions converts the globalFlags into config options
func (*GlobalFlags) UseLastContext ¶
UseLastContext uses the last context
Click to show internal directories.
Click to hide internal directories.