Documentation ¶
Overview ¶
Package configtest provides testing functionality for 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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.