grafana/pkg/services/grafana-apiserver/wireset.go
2023-09-28 18:28:58 -04:00

16 lines
348 B
Go

package grafanaapiserver
import (
"github.com/google/wire"
"github.com/grafana/grafana/pkg/services/grafana-apiserver/auth/authorizer"
)
var WireSet = wire.NewSet(
ProvideService,
wire.Bind(new(RestConfigProvider), new(*service)),
wire.Bind(new(Service), new(*service)),
wire.Bind(new(APIRegistrar), new(*service)),
authorizer.WireSet,
)