Files
Antoine ToulmeandGitHub 9f8c46fc0b [chore] refactor statustest, fold into status (#13584)
This is just moving an internal package around, as a side effect of
#13573
2025-08-25 15:13:03 +00:00

21 lines
553 B
Go

// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
package status // import "go.opentelemetry.io/collector/service/internal/status"
import (
"go.opentelemetry.io/collector/component/componentstatus"
)
func NewNopStatusReporter() Reporter {
return &nopStatusReporter{}
}
type nopStatusReporter struct{}
func (r *nopStatusReporter) Ready() {}
func (r *nopStatusReporter) ReportStatus(*componentstatus.InstanceID, *componentstatus.Event) {}
func (r *nopStatusReporter) ReportOKIfStarting(*componentstatus.InstanceID) {}