mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 16:02:46 +08:00
K8s: Move ResourceInfo from common to utils (#92924)
This commit is contained in:
@ -5,7 +5,6 @@ import (
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
|
||||
common "github.com/grafana/grafana/pkg/apimachinery/apis/common/v0alpha1"
|
||||
"github.com/grafana/grafana/pkg/apimachinery/utils"
|
||||
)
|
||||
|
||||
@ -15,7 +14,7 @@ const (
|
||||
APIVERSION = GROUP + "/" + VERSION
|
||||
)
|
||||
|
||||
var DataPlaneServiceResourceInfo = common.NewResourceInfo(GROUP, VERSION,
|
||||
var DataPlaneServiceResourceInfo = utils.NewResourceInfo(GROUP, VERSION,
|
||||
"dataplaneservices", "dataplaneservice", "DataPlaneService",
|
||||
func() runtime.Object { return &DataPlaneService{} },
|
||||
func() runtime.Object { return &DataPlaneServiceList{} },
|
||||
|
Reference in New Issue
Block a user