Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTestConfig ¶ added in v0.6.0
func GetTestConfig() (types.ServerConfig, error)
func LoadConfig ¶ added in v0.3.0
func LoadConfig() error
LoadConfig reads in config file and ENV variables if set. This should be called in PreRunE of commands that need config.
func LoadTestEnvConfig ¶ added in v0.3.0
Types ¶
type ServerConfigWrapper ¶ added in v0.6.0
type ServerConfigWrapper struct {
*types.ServerConfig
}
func (*ServerConfigWrapper) GenerateTestYamlConfig ¶ added in v0.6.0
func (c *ServerConfigWrapper) GenerateTestYamlConfig() string
func (*ServerConfigWrapper) GetTestConfig ¶ added in v0.6.0
func (c *ServerConfigWrapper) GetTestConfig() *types.ServerConfig
Click to show internal directories.
Click to hide internal directories.