2022-08-17 10:57:03 +02:00
|
|
|
package registry
|
|
|
|
|
|
|
|
// Where we register all the available experiments.
|
2022-08-31 12:44:46 +02:00
|
|
|
var AllExperiments = map[string]*Factory{}
|
2022-08-17 10:57:03 +02:00
|
|
|
|
|
|
|
// ExperimentNames returns the name of all experiments
|
|
|
|
func ExperimentNames() (names []string) {
|
2022-08-31 12:44:46 +02:00
|
|
|
for key := range AllExperiments {
|
2022-08-17 10:57:03 +02:00
|
|
|
names = append(names, key)
|
|
|
|
}
|
|
|
|
return
|
|
|
|
}
|