grafana/pkg/registry/apis/wireset.go

21 lines
579 B
Go
Raw Normal View History

package apiregistry
import (
"github.com/google/wire"
"github.com/grafana/grafana/pkg/registry/apis/datasource"
"github.com/grafana/grafana/pkg/registry/apis/example"
"github.com/grafana/grafana/pkg/registry/apis/folders"
"github.com/grafana/grafana/pkg/registry/apis/playlist"
)
var WireSet = wire.NewSet(
ProvideRegistryServiceSink, // dummy background service that forces registration
// Each must be added here *and* in the ServiceSink above
playlist.RegisterAPIService,
example.RegisterAPIService,
datasource.RegisterAPIService,
folders.RegisterAPIService,
)