mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-11-04 04:28:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			468 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			468 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package experiments
 | 
						|
 | 
						|
const VaultExperimentEventsAlpha1 = "events.alpha1"
 | 
						|
 | 
						|
var validExperiments = []string{
 | 
						|
	VaultExperimentEventsAlpha1,
 | 
						|
}
 | 
						|
 | 
						|
// ValidExperiments exposes the list without exposing a mutable global variable.
 | 
						|
// Experiments can only be enabled when starting a server, and will typically
 | 
						|
// enable pre-GA API functionality.
 | 
						|
func ValidExperiments() []string {
 | 
						|
	result := make([]string, len(validExperiments))
 | 
						|
	copy(result, validExperiments)
 | 
						|
	return result
 | 
						|
}
 |