Versions in this module Expand all Collapse all v1 v1.7.9 Oct 27, 2019 Changes in this version + type ExecStatement struct + Script string + StatementID string + func (i *ExecStatement) Report(s *stressClient.StressTest) string + func (i *ExecStatement) Run(s *stressClient.StressTest) + func (i *ExecStatement) SetID(s string) + type Function struct + Argument int + Count int + Fn string + Type string + func (f *Function) NewStringer(series int) Stringer + type GoStatement struct + StatementID string + func (i *GoStatement) Report(s *stressClient.StressTest) string + func (i *GoStatement) Run(s *stressClient.StressTest) + func (i *GoStatement) SetID(s string) + type InfluxqlStatement struct + Query string + StatementID string + Tracer *stressClient.Tracer + func (i *InfluxqlStatement) Report(s *stressClient.StressTest) (out string) + func (i *InfluxqlStatement) Run(s *stressClient.StressTest) + func (i *InfluxqlStatement) SetID(s string) + type InsertStatement struct + Name string + StatementID string + TagCount int + TemplateString string + Templates Templates + TestID string + Timestamp *Timestamp + Tracer *stressClient.Tracer + func (i *InsertStatement) Report(s *stressClient.StressTest) string + func (i *InsertStatement) Run(s *stressClient.StressTest) + func (i *InsertStatement) SetID(s string) + func (i *InsertStatement) SetVars(s *stressClient.StressTest) chan<- string + type QueryStatement struct + Args []string + Count int + Name string + StatementID string + TemplateString string + Tracer *stressClient.Tracer + func (i *QueryStatement) Report(s *stressClient.StressTest) string + func (i *QueryStatement) Run(s *stressClient.StressTest) + func (i *QueryStatement) SetID(s string) + type ResponseTime struct + Time time.Time + Value int + func NewResponseTime(v int) ResponseTime + type ResponseTimes []ResponseTime + func (rs ResponseTimes) Len() int + func (rs ResponseTimes) Less(i, j int) bool + func (rs ResponseTimes) Swap(i, j int) + type SetStatement struct + StatementID string + Tracer *stressClient.Tracer + Value string + Var string + func (i *SetStatement) Report(s *stressClient.StressTest) string + func (i *SetStatement) Run(s *stressClient.StressTest) + func (i *SetStatement) SetID(s string) + type Statement interface + Report func(s *stressClient.StressTest) string + Run func(s *stressClient.StressTest) + SetID func(s string) + type Stringer func() string + func NewFloatFunc(fn string, arg int) Stringer + func NewIntFunc(fn string, arg int) Stringer + func NewStrFunc(fn string, arg int) Stringer + type Stringers []Stringer + func (s Stringers) Eval(time func() int64) []interface{} + type Template struct + Function *Function + Tags []string + func (t *Template) NewTagFunc() Stringer + type Templates []*Template + func (t Templates) Init(seriesCount int) Stringers + type Timestamp struct + Count int + Duration time.Duration + Jitter bool + func (t *Timestamp) Time(startDate string, series int, precision string) func() int64 + type WaitStatement struct + StatementID string + func (w *WaitStatement) Report(s *stressClient.StressTest) string + func (w *WaitStatement) Run(s *stressClient.StressTest) + func (w *WaitStatement) SetID(s string)