mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 00:37:04 -06:00
0a2c5065a0
* Choose mode. Add log field on top level dualwriter * Add logs * Turn DualWriter into a full interface. Fix tests * Lint * Use struct for dualWriter interface * Use struct * Default should be legacyStore for all entities * Fix test. Get rid of extra concrete type * Remove comment * Add comment * Temp set dualwriter mode 2 for playlists while configs are not in place * Add modes type + add comment on what each mode does * Don't require watcher interface for now * Use storage implementation on mode 2 * Update pkg/apiserver/rest/dualwriter_mode2.go Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com> * Pass log values to the context * test * Update pkg/apiserver/rest/dualwriter_mode3.go Co-authored-by: Dan Cech <dcech@grafana.com> --------- Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com> Co-authored-by: Dan Cech <dcech@grafana.com> |
||
---|---|---|
.. | ||
dualwriter_mode1_test.go | ||
dualwriter_mode1.go | ||
dualwriter_mode2_test.go | ||
dualwriter_mode2.go | ||
dualwriter_mode3_test.go | ||
dualwriter_mode3.go | ||
dualwriter_mode4_test.go | ||
dualwriter_mode4.go | ||
dualwriter.go | ||
spy_client.go | ||
storage_mocks_test.go |