Categorygithub.com/open-telemetry/opentelemetry-collector-contrib/internal/sharedcomponent

# Functions

NewSharedComponents returns a new empty SharedComponents.

# Structs

SharedComponent ensures that the wrapped component is started and stopped only once.
SharedComponents a map that keeps reference of all created instances for a given configuration, and ensures that the shared state is started and stopped only once.