Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvSettings ¶
type EnvSettings struct { // KubeContext is the name of the kube context. KubeContext string // KubeConfig is the name of the kubeconfig file. KubeConfig string }
EnvSettings describes all of the environment settings.
func (*EnvSettings) AddFlags ¶ added in v1.0.0
func (s *EnvSettings) AddFlags(fs *pflag.FlagSet)
AddFlags binds flags to the given flagset.
func (*EnvSettings) Init ¶ added in v1.0.0
func (s *EnvSettings) Init()
Init sets values from the environment if they aren't set explicitly.
Click to show internal directories.
Click to hide internal directories.