Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FactoryBase ¶
type FactoryBase interface { // Initialize performs internal initialization of the factory, // such as opening connections to the backend store. Initialize(ctx context.Context) error // Close closes the resources held by the factory Close(ctx context.Context) error }
Factory is a general factory interface to be reused across different storage factories. It lives within the OTEL collector extension component's lifecycle. The Initialize and Close functions supposed to be called from the OTEL component's Start and Shutdown functions.
Click to show internal directories.
Click to hide internal directories.