Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfig ¶
func ValidateConfig(fnc interface{}, pth, confdPath string)
ValidateConfig will take a configuration handling function and two paths. The first path is the base config file, and the second path points at the conf.d directory. The config handling function will take those two paths and process a config and return two values. The first value is an opaque object (hence the reflect voodoo). The second value is an error object the point of this function is to make it easy for ingester writers to just hand in their GetConfig function and the two paths and get a "go/no go" on the configurations.
func ValidateIngesterConfig ¶
func ValidateIngesterConfig(fnc interface{}, pth, confdPath string)
ValidateIngesterConfig behaves same as ValidateConfig but also asserts that the provided config can return an IngestBaseConfig object.
Types ¶
This section is empty.