mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Scopes: Adds kinds for browsing the scope node tree. (#86975)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
This commit is contained in:
@@ -46,22 +46,38 @@ func TestIntegrationScopes(t *testing.T) {
|
||||
"apiVersion": "v1",
|
||||
"groupVersion": "scope.grafana.app/v0alpha1",
|
||||
"resources": [
|
||||
{
|
||||
"name": "scopedashboardbindings",
|
||||
"singularName": "scopedashboardbinding",
|
||||
{
|
||||
"name": "scopedashboardbindings",
|
||||
"singularName": "scopedashboardbinding",
|
||||
"namespaced": true,
|
||||
"kind": "ScopeDashboardBinding",
|
||||
"verbs": [
|
||||
"create",
|
||||
"delete",
|
||||
"deletecollection",
|
||||
"get",
|
||||
"list",
|
||||
"patch",
|
||||
"update",
|
||||
"watch"
|
||||
]
|
||||
},{
|
||||
"name": "scopenodes",
|
||||
"singularName": "scopenode",
|
||||
"namespaced": true,
|
||||
"kind": "ScopeDashboardBinding",
|
||||
"kind": "ScopeNode",
|
||||
"verbs": [
|
||||
"create",
|
||||
"delete",
|
||||
"deletecollection",
|
||||
"get",
|
||||
"list",
|
||||
"patch",
|
||||
"update",
|
||||
"watch"
|
||||
"create",
|
||||
"delete",
|
||||
"deletecollection",
|
||||
"get",
|
||||
"list",
|
||||
"patch",
|
||||
"update",
|
||||
"watch"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name": "scopes",
|
||||
"singularName": "scope",
|
||||
@@ -78,6 +94,7 @@ func TestIntegrationScopes(t *testing.T) {
|
||||
"watch"
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
}`, string(v1Disco))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user