| 1 |
// Copyright The OpenTelemetry Authors |
| 2 |
// SPDX-License-Identifier: Apache-2.0 |
| 3 |
|
| 4 |
package component // import "go.opentelemetry.io/collector/component" |
| 5 |
|
| 6 |
// Config defines the configuration for a component.Component. |
| 7 |
// |
| 8 |
// Implementations and/or any sub-configs (other types embedded or included in the Config implementation) |
| 9 |
// MUST implement xconfmap.Validator if any validation is required for that part of the configuration |
| 10 |
// (e.g. check if a required field is present). |
| 11 |
// |
| 12 |
// A valid implementation MUST pass the check componenttest.CheckConfigStruct (return nil error). |
| 13 |
type Config any |