Documentation ¶
Overview ¶
Package configtest loads the configuration to test packages implementing the config package interfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckConfigStruct ¶ added in v0.36.0
func CheckConfigStruct(config interface{}) error
CheckConfigStruct enforces that given configuration object is following the patterns used by the collector. This ensures consistency between different implementations of components and extensions. It is recommended for implementers of components to call this function on their tests passing the default configuration of the component factory.
func LoadConfig ¶ added in v0.28.0
LoadConfig loads a config from file, and does NOT validate the configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.