Versions in this module Expand all Collapse all v0 v0.33.0 Apr 29, 2021 v0.32.0 Apr 29, 2021 Changes in this version + func GetExtensions() map[string]func(Params) (Output, error) + func RegisterExtension(name string, mod func(Params) (Output, error)) + type Output interface + AddMetricSamples func(samples []stats.SampleContainer) + Description func() string + Start func() error + Stop func() error + type Params struct + ConfigArgument string + Environment map[string]string + ExecutionPlan []lib.ExecutionStep + FS afero.Fs + JSONConfig json.RawMessage + Logger logrus.FieldLogger + OutputType string + RuntimeOptions lib.RuntimeOptions + ScriptOptions lib.Options + ScriptPath *url.URL + StdErr io.Writer + StdOut io.Writer + type PeriodicFlusher struct + func NewPeriodicFlusher(period time.Duration, flushCallback func()) (*PeriodicFlusher, error) + func (pf *PeriodicFlusher) Stop() + type SampleBuffer struct + func (sc *SampleBuffer) AddMetricSamples(samples []stats.SampleContainer) + func (sc *SampleBuffer) GetBufferedSamples() []stats.SampleContainer + type WithRunStatusUpdates interface + SetRunStatus func(latestStatus lib.RunStatus) + type WithTestRunStop interface + SetTestRunStopCallback func(func(error)) + type WithThresholds interface + SetThresholds func(map[string]stats.Thresholds)