| 1 |
// Copyright The OpenTelemetry Authors |
| 2 |
// SPDX-License-Identifier: Apache-2.0 |
| 3 |
|
| 4 |
package moduleinfo // import "go.opentelemetry.io/collector/service/internal/moduleinfo" |
| 5 |
|
| 6 |
import "go.opentelemetry.io/collector/component" |
| 7 |
|
| 8 |
type ModuleInfo struct { |
| 9 |
// BuilderRef is the raw string passed in the builder configuration used to build this service. |
| 10 |
BuilderRef string |
| 11 |
} |
| 12 |
|
| 13 |
// ModuleInfos describes the go module for each component. |
| 14 |
type ModuleInfos struct { |
| 15 |
Receiver map[component.Type]ModuleInfo |
| 16 |
Processor map[component.Type]ModuleInfo |
| 17 |
Exporter map[component.Type]ModuleInfo |
| 18 |
Extension map[component.Type]ModuleInfo |
| 19 |
Connector map[component.Type]ModuleInfo |
| 20 |
} |