Documentation ¶
Index ¶
- Constants
- Variables
- func GenerateNewExperimentConfigurations() (*models.ExperimentConfigurations, error)
- func GetExperimentConfigurations() *models.ExperimentConfigurations
- func ParseExperimentConfiguration(sourceAsJson string) (*models.ExperimentConfigurations, error)
- func RefreshExperimentConfigurations() error
- func SendExperimentStats(experimentStatsGroup *models.ExperimentStatsGroup) error
- func SendMetricStats(metricName string, destination string, port string, subset string, ...) error
- func SetupConfigurator()
Constants ¶
View Source
const RefreshPeriod = 30 * time.Second
Variables ¶
View Source
var Delimiter = url.QueryEscape("/")
View Source
var ExperimentConfigurations0 models.ExperimentConfigurations
View Source
var ExperimentConfigurations1 models.ExperimentConfigurations
Functions ¶
func GenerateNewExperimentConfigurations ¶
func GenerateNewExperimentConfigurations() (*models.ExperimentConfigurations, error)
GenerateNewExperimentConfigurations gets experiments from the service
func GetExperimentConfigurations ¶
func GetExperimentConfigurations() *models.ExperimentConfigurations
func ParseExperimentConfiguration ¶
func ParseExperimentConfiguration(sourceAsJson string) (*models.ExperimentConfigurations, error)
func RefreshExperimentConfigurations ¶
func RefreshExperimentConfigurations() error
func SendExperimentStats ¶
func SendExperimentStats(experimentStatsGroup *models.ExperimentStatsGroup) error
func SendMetricStats ¶
func SendMetricStats(metricName string, destination string, port string, subset string, experiment string, metricStats *models.MetricStats) error
SendMetricStats send metrics to vamp api
func SetupConfigurator ¶
func SetupConfigurator()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.