Commit Graph
16 Commits
Author SHA1 Message Date
Ryan McKinley f97fa5e5e9 Provisioning: Update OpenAPI and k8s codegen (#98568)
* revert folder changes

* update snapshots

* openapi cleanup

* update codegen
2025-01-07 13:43:19 +03:00
Ryan McKinley b322f65243 Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2024-12-18 08:39:03 +03:00
Ryan McKinley eb38a63559 K8s/Folder: Show parent folder information (#97938) 2024-12-17 16:19:40 +02:00
Ryan McKinley e4837d452e Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2024-12-16 19:07:54 +03:00
Leonor OliveiraandBruno Abrantes 62c1735a61 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>
2024-12-16 14:08:29 +01:00
Mariell Hoversholm 22e0e952c7 Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2024-12-11 12:15:47 +01:00
Ryan McKinley ea17b79c09 Search: Return counts for values within an folder/repository (#97534) 2024-12-10 20:37:37 +02:00
Mariell Hoversholm f73611831d chore: regen k8s code for folder 2024-11-25 16:28:02 +01:00
Mariell Hoversholm 1aede325f2 POC/Prototype: Provisioning: add export endpoint (#96815)
* feat: add export endpoint

This is not at all complete, but acts as a good base.

* chore: more todos

* feat: fetch folders and their parents

* feat: export to folders

* refactor: use constant for folder key

(cherry picked from commit d403f5255e)
2024-11-22 09:18:41 +01:00
Arati R. b918739a98 K8s/Folders: Add basic folder integration tests (create, read) (#93232)
* Add initial folder tests
* Add test for get/reading folders
* Compare legacy and k8s create and read
* Remove dependency on grafanaAPIServerWithExperimentalAPIs
2024-09-12 14:36:46 +02:00
Ryan McKinley cb484f9883 K8s: Move ResourceInfo from common to utils (#92924) 2024-09-04 14:53:14 +03:00
Todd Treece dacf11b048 K8s: Fix hack/update-codegen (#91867) 2024-08-14 08:17:05 +03:00
Ryan McKinley a223c46506 APIServer: Make TableConverter part of ResourceInfo (#91520) 2024-08-05 15:38:12 +03:00
Todd Treece e5a26a3f7c K8s: Add apimachinery and apiserver packages (#83190) 2024-02-23 15:15:43 -05:00
Ryan McKinley ce12eba858 K8s/Folders: Add all features to k8s endpoints (#81858) 2024-02-06 07:09:40 -08:00
Ryan McKinley e041055012 K8s/Folders: Rename api group to singular (#81443) 2024-01-30 08:50:37 -08:00