Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Context string `yaml:"context"` Contexts map[string]*Context `yaml:"contexts"` }
Config represents the configuration file.
func FromString ¶
FromString returns a config from a string.
type Context ¶
type Context struct { DeprecatedTarget string `yaml:"target,omitempty"` // Field deprecated in favor of Endpoints Endpoints []string `yaml:"endpoints"` Nodes []string `yaml:"nodes,omitempty"` CA string `yaml:"ca"` Crt string `yaml:"crt"` Key string `yaml:"key"` }
Context represents the set of credentials required to talk to a target.
Click to show internal directories.
Click to hide internal directories.