mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
K8s: Add example api service (#75911)
This commit is contained in:
@@ -3,6 +3,7 @@ package apiregistry
|
||||
import (
|
||||
"context"
|
||||
|
||||
examplev0alpha1 "github.com/grafana/grafana/pkg/apis/example/v0alpha1"
|
||||
playlistsv0alpha1 "github.com/grafana/grafana/pkg/apis/playlist/v0alpha1"
|
||||
"github.com/grafana/grafana/pkg/registry"
|
||||
)
|
||||
@@ -13,8 +14,11 @@ var (
|
||||
|
||||
type Service struct{}
|
||||
|
||||
// ProvideService is an entry point for each service that will force initialization
|
||||
// and give each builder the chance to register itself with the main server
|
||||
func ProvideService(
|
||||
_ *playlistsv0alpha1.PlaylistAPIBuilder,
|
||||
_ *examplev0alpha1.TestingAPIBuilder,
|
||||
) *Service {
|
||||
return &Service{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user