Documentation ¶
Index ¶
- func GetDefaultConfig() (*types.Config, error)
- func ParseClusterConfig(in string) (*types.ClusterConfig, error)
- func ParseClusterConfigFile(configPath string) (*types.ClusterConfig, error)
- func ParseConfig(in string) (*types.Config, error)
- func ParseConfigFile(configPath string) (*types.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultConfig ¶
GetDefaultConfig returns the global default config. It starts with a hard-coded set of defaults. It then attempts to read a global overrides file. If such a file is found, the entries in that file are merged into the hard-coded defaults.
func ParseClusterConfig ¶
func ParseClusterConfig(in string) (*types.ClusterConfig, error)
ParseClusterConfig taks a yaml-encoded string and parses it into a ClusterConfig structure.
func ParseClusterConfigFile ¶
func ParseClusterConfigFile(configPath string) (*types.ClusterConfig, error)
ParseClusterConfigFile takes the path to a file, reads the contents, and parses it into a ClusterConfig structure.
func ParseConfig ¶
ParseConfig takes a yaml-encoded string and parses it into a Config structure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.