Implement k8s count handler (#97955)

* Implement k8s count handler

* Fix endpoint

* Fix type converstions

* Add tests for foldercounts

* Add more tests

* Only use sql-fallback if no values in unistore

* Update gomod

* Fix test

* Update pkg/api/folder_test.go

Co-authored-by: Bruno Abrantes <bruno.abrantes@grafana.com>

* Go.mod

---------

Co-authored-by: Bruno Abrantes <bruno.abrantes@grafana.com>
This commit is contained in:
Leonor Oliveira
2024-12-16 14:08:29 +01:00
committed by GitHub
co-authored by Bruno Abrantes
parent 1180ea07b7
commit 62c1735a61
5 changed files with 174 additions and 6 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ func TestIntegrationFoldersApp(t *testing.T) {
]
},
{
"name": "folders/count",
"name": "folders/counts",
"singularName": "",
"namespaced": true,
"kind": "DescendantCounts",