grafana/pkg/apiserver/rest
Leonor Oliveira 2645958c8c
Use global function to compare any entity to both stores (#89282)
* WIP implement generic compare interface

* Use global compare fn for all entities

* Lint

* Update pkg/apiserver/rest/dualwriter.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* Don't need to hash, just compare bytes

* Fix tests

---------

Co-authored-by: Dan Cech <dcech@grafana.com>
2024-06-26 10:19:40 +02:00
..
dualwriter_mode1_test.go Use global function to compare any entity to both stores (#89282) 2024-06-26 10:19:40 +02:00
dualwriter_mode1.go Use global function to compare any entity to both stores (#89282) 2024-06-26 10:19:40 +02:00
dualwriter_mode2_test.go Unified Storage: Always populate RV and UID on create (#89554) 2024-06-21 17:37:53 +01:00
dualwriter_mode2.go Use global function to compare any entity to both stores (#89282) 2024-06-26 10:19:40 +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 Use global function to compare any entity to both stores (#89282) 2024-06-26 10:19:40 +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 Use global function to compare any entity to both stores (#89282) 2024-06-26 10:19:40 +02:00
dualwriter_test.go Use global function to compare any entity to both stores (#89282) 2024-06-26 10:19:40 +02:00
dualwriter.go Use global function to compare any entity to both stores (#89282) 2024-06-26 10:19:40 +02:00
metrics.go Init dualwriter metrics (#89003) 2024-06-14 11:01:49 +02:00
storage_mocks_test.go Storage: Extract returned object hydration into function (#88012) 2024-05-28 15:14:27 +02:00