Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Set ¶ added in v0.0.31
func Set(profile string, fn func(prefs *Preferences)) error
func SetGlobal ¶ added in v0.0.31
func SetGlobal(fn func(prefs *Preferences)) error
Types ¶
type File ¶ added in v0.0.31
type File struct {
Global Preferences `yaml:"global,omitzero"`
PerProfile map[string]Preferences `yaml:"per_profile,omitzero"`
}
type Preferences ¶
type Preferences struct {
Kube Kube `yaml:"kube,omitzero"`
}
func Get ¶ added in v0.0.31
func Get(profile string) (Preferences, error)
Click to show internal directories.
Click to hide internal directories.