grafana/pkg/apiserver/rest
Leonor Oliveira 502bd5612e
Storage: Extract returned object hydration into function (#88012)
* Extract returned object hydration into function

* Finish writing tests for utils func

* Lint

* Update pkg/apiserver/rest/dualwriter_mode2.go

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>

* Better var naming

* Remove duplicated logic

* Lint

* Fix test

* Lint

* Make type private

* Fix one more test

* Fix test

---------

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>
2024-05-28 15:14:27 +02:00
..
dualwriter_mode1_test.go Storage: Extract returned object hydration into function (#88012) 2024-05-28 15:14:27 +02:00
dualwriter_mode1.go Storage: Extract returned object hydration into function (#88012) 2024-05-28 15:14:27 +02:00
dualwriter_mode2_test.go Storage: Extract returned object hydration into function (#88012) 2024-05-28 15:14:27 +02:00
dualwriter_mode2.go Storage: Extract returned object hydration into function (#88012) 2024-05-28 15:14:27 +02:00
dualwriter_mode3_test.go Choose mode. Turn DualWriter into a real interface. Better Logging (#87291) 2024-05-06 23:18:28 +02:00
dualwriter_mode3.go Storage: Extract returned object hydration into function (#88012) 2024-05-28 15:14:27 +02:00
dualwriter_mode4_test.go Choose mode. Turn DualWriter into a real interface. Better Logging (#87291) 2024-05-06 23:18:28 +02:00
dualwriter_mode4.go Storage: Extract returned object hydration into function (#88012) 2024-05-28 15:14:27 +02:00
dualwriter_test.go Storage: Add mode reconciliation for modes 1 and 2 (#87919) 2024-05-23 00:12:46 +02:00
dualwriter.go Storage: Add mode reconciliation for modes 1 and 2 (#87919) 2024-05-23 00:12:46 +02:00
metrics.go Also call storage on mode1. Measure latency (#87739) 2024-05-22 10:23:29 +02:00
storage_mocks_test.go Storage: Extract returned object hydration into function (#88012) 2024-05-28 15:14:27 +02:00