2023-09-26 06:31:58 +08:00
|
|
|
package apiregistry
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/google/wire"
|
|
|
|
|
|
2023-11-03 23:07:55 +08:00
|
|
|
"github.com/grafana/grafana/pkg/registry/apis/example"
|
|
|
|
|
"github.com/grafana/grafana/pkg/registry/apis/playlist"
|
2023-09-26 06:31:58 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
var WireSet = wire.NewSet(
|
2023-11-03 23:07:55 +08:00
|
|
|
ProvideRegistryServiceSink, // dummy background service that forces registration
|
|
|
|
|
|
|
|
|
|
// Each must be added here *and* in the ServiceSink above
|
|
|
|
|
// playlistV0.RegisterAPIService,
|
|
|
|
|
playlist.RegisterAPIService,
|
|
|
|
|
example.RegisterAPIService,
|
2023-09-26 06:31:58 +08:00
|
|
|
)
|