Storage: Customise setting dual writing modes (#87668)

* Add feature toggles for mode 2 and 3 playlist dual writing
* Make current mode customised based on kind
* Check feature flags when initialising dual writer
* Fix linting
* Refactor NewDualWriter
This commit is contained in:
Arati R
2024-05-14 14:11:56 +02:00
committed by GitHub
parent d8904f3ca4
commit 6836bfe1ea
13 changed files with 92 additions and 41 deletions

View File

@@ -76,6 +76,7 @@ allow = [
"github.com/grafana/grafana/pkg/apimachinery",
"github.com/grafana/grafana/pkg/apiserver",
"github.com/grafana/grafana/pkg/services/apiserver/utils",
"github.com/grafana/grafana/pkg/services/featuremgmt",
]
deny = [
{ pkg = "github.com/grafana/grafana/pkg", desc = "apiserver is not allowed to import grafana core" }