mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Storage: Read desired mode from config instead of feature flags (#88353)
* Read desired mode from config * Update playlist integration tests * Add mode 1 playlist integration tests * Add mode 0 dual writing to playlist integration tests * Add documentation for the different dual writing modes
This commit is contained in:
@@ -8,13 +8,15 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
GROUP = "playlist.grafana.app"
|
||||
VERSION = "v0alpha1"
|
||||
APIVERSION = GROUP + "/" + VERSION
|
||||
GROUP = "playlist.grafana.app"
|
||||
VERSION = "v0alpha1"
|
||||
APIVERSION = GROUP + "/" + VERSION
|
||||
RESOURCE = "playlists"
|
||||
GROUPRESOURCE = GROUP + "/" + RESOURCE
|
||||
)
|
||||
|
||||
var PlaylistResourceInfo = common.NewResourceInfo(GROUP, VERSION,
|
||||
"playlists", "playlist", "Playlist",
|
||||
RESOURCE, "playlist", "Playlist",
|
||||
func() runtime.Object { return &Playlist{} },
|
||||
func() runtime.Object { return &PlaylistList{} },
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user