Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfigFile ¶
func LoadConfigFile(t *testing.T, fileName string, factories component.Factories) (*configmodels.Config, error)
LoadConfigFile loads a config from file.
func NewViperFromYamlFile ¶
NewViperFromYamlFile creates a viper instance that reads the given fileName as yaml config and can then be used to unmarshal the file contents to objects. Example usage for testing can be found in configtest_test.go
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.