* wire experiments through options for tests (#21873)

This commit is contained in:
Max Coulombe
2023-07-14 17:53:10 -04:00
committed by GitHub
parent 88ca498fb4
commit b9251da337
4 changed files with 12 additions and 4 deletions

View File

@@ -6,11 +6,13 @@ package experiments
const (
VaultExperimentEventsAlpha1 = "events.alpha1"
VaultExperimentCoreAuditEventsAlpha1 = "core.audit.events.alpha1"
VaultExperimentSecretsSyncAlpha1 = "secrets.sync.alpha1"
)
var validExperiments = []string{
VaultExperimentEventsAlpha1,
VaultExperimentCoreAuditEventsAlpha1,
VaultExperimentSecretsSyncAlpha1,
}
// ValidExperiments exposes the list without exposing a mutable global variable.