models

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Experiment

type Experiment struct {
	Name          string                  `yaml:"name,omitempty" json:"name,omitempty"`
	Specification ExperimentSpecification `yaml:"specification,omitempty" json:"specification,omitempty"`
}

type ExperimentConfiguration

type ExperimentConfiguration struct {
	Subsets map[string]string
}

type ExperimentConfigurations

type ExperimentConfigurations struct {
	ExperimentConfigurationMap map[string]ExperimentConfiguration
}

type ExperimentDestination

type ExperimentDestination struct {
	Port        int64  `yaml:"port,omitempty" json:"port,omitempty"`
	Subset      string `yaml:"subset,omitempty" json:"subset,omitempty"`
	Target      string `yaml:"target,omitempty" json:"target,omitempty"`
	Destination string `yaml:"destination,omitempty" json:"destination,omitempty"`
}

type ExperimentLoggers

type ExperimentLoggers struct {
	ExperimentLogs map[string]ExperimentLogs
}

type ExperimentLogs

type ExperimentLogs struct {
	SubsetLogs map[string]SubsetLogs
}

type ExperimentSpecification

type ExperimentSpecification struct {
	Destinations []ExperimentDestination `yaml:"destinations,omitempty" json:"destinations,omitempty"`
}

type ExperimentStats

type ExperimentStats struct {
	Subsets map[string]SubsetStats
}

type ExperimentStatsGroup

type ExperimentStatsGroup struct {
	ExperimentStatsMap map[string]ExperimentStats
}

type Instance

type Instance struct {
	APIVersion string            `yaml:"apiVersion,omitempty" json:"apiVersion,omitempty"`
	Kind       string            `yaml:"kind,omitempty" json:"kind,omitempty"`
	Metadata   map[string]string `yaml:"metadata,omitempty" json:"metadata,omitempty"`
	Spec       InstanceSpec      `yaml:"spec,omitempty" json:"spec,omitempty"`
}

type InstanceParams

type InstanceParams struct {
	Severity  string            `yaml:"severity,omitempty" json:"severity,omitempty"`
	Timestamp string            `yaml:"timestamp,omitempty" json:"timestamp,omitempty"`
	Variables map[string]string `yaml:"variables,omitempty" json:"variables,omitempty"`
}

type InstanceSpec

type InstanceSpec struct {
	Template         string         `yaml:"template,omitempty" json:"template,omitempty"`
	CompiledTemplate string         `yaml:"compiledTemplate,omitempty" json:"compiledTemplate,omitempty"`
	Params           InstanceParams `yaml:"params,omitempty" json:"params,omitempty"`
}

type LogInstance

type LogInstance struct {
	Timestamp         int64
	Destination       string
	DestinationPort   string
	DestinationLabels map[string]string
	Values            map[string]interface{}
}

type MetricStats

type MetricStats struct {
	NumberOfElements  int64
	Average           float64
	StandardDeviation float64
	Sum               float64
	Median            float64
	Min               float64
	Max               float64
	Rate              float64
	P999              float64
	P99               float64
	P95               float64
	P75               float64
}

type SubsetLogs

type SubsetLogs struct {
	UserLogs map[string]int
}

type SubsetStats

type SubsetStats struct {
	NumberOfElements  float64
	Average           float64
	StandardDeviation float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL