grafana/pkg/apiserver/builder
Carl Bergquist 16cc75b02c
Scopes: Add Handler for returning dashboards related to a list of scopes. (#87758)
- Adds a find endpoint to return dashboard bindings that match any of the scopes. For example /apis/scope.grafana.app/v0alpha1/namespaces/default/find/scope_dashboard_bindings?scope=s1&scope=s2
- Updates the ScopeNode find endpoint to a new path, /find/scope_node_children , makes the key "items" for all find endpoints (instead of mix of "found" and "items"), and makes the list item type a ScopeNode instead of its own type.
- Updates kubectl get commands to return more information about scopes, scopenodes, and scopedashboard bindings to display more fields in table output

---------

Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Kyle Brandt <kyle@grafana.com>
Co-authored-by: Todd Treece <todd.treece@grafana.com>
2024-06-05 11:47:36 -04:00
..
common.go Storage: Read desired mode from config instead of feature flags (#88353) 2024-05-31 19:29:59 +02:00
helper.go Scopes: Add Handler for returning dashboards related to a list of scopes. (#87758) 2024-06-05 11:47:36 -04:00
openapi.go Chore: Remove repetitive words (#84132) 2024-03-11 08:55:18 -04:00
request_handler.go K8s: Add apimachinery and apiserver packages (#83190) 2024-02-23 15:15:43 -05:00