Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LoadedConfigPath string DefaultConfigPath string )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
LogLevel string `yaml:"logLevel"`
CurrentContext string `yaml:"currentContext"`
Contexts []Context `yaml:"contexts"`
}
func NewDefaultConfig ¶
func NewDefaultConfig() Config
func (Config) GetCurrentContext ¶
func (Config) PrintConfig ¶
func (*Config) SetCurrentContext ¶
func (Config) WriteConfig ¶
Click to show internal directories.
Click to hide internal directories.