Documentation ¶
Index ¶
- func ProcessStages(startVUs int64, stages []lib.Stage, t time.Duration) (null.Int, bool)
- func SumStages(stages []lib.Stage) (d lib.NullDuration)
- type Executor
- func (e *Executor) GetEndIterations() null.Int
- func (e *Executor) GetEndTime() lib.NullDuration
- func (e *Executor) GetIterations() int64
- func (e *Executor) GetLogger() *log.Logger
- func (e *Executor) GetRunner() lib.Runner
- func (e *Executor) GetStages() []lib.Stage
- func (e *Executor) GetTime() time.Duration
- func (e *Executor) GetVUs() int64
- func (e *Executor) GetVUsMax() int64
- func (e *Executor) IsPaused() bool
- func (e *Executor) IsRunning() bool
- func (e *Executor) Run(parent context.Context, out chan<- []stats.Sample) error
- func (e *Executor) SetEndIterations(i null.Int)
- func (e *Executor) SetEndTime(t lib.NullDuration)
- func (e *Executor) SetLogger(l *log.Logger)
- func (e *Executor) SetPaused(paused bool)
- func (e *Executor) SetStages(s []lib.Stage)
- func (e *Executor) SetVUs(num int64) error
- func (e *Executor) SetVUsMax(max int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessStages ¶ added in v0.18.0
Returns the VU count and whether to keep going at the specified time.
Types ¶
type Executor ¶
type Executor struct { Runner lib.Runner Logger *log.Logger // contains filtered or unexported fields }
func (*Executor) GetEndIterations ¶
func (*Executor) GetEndTime ¶
func (e *Executor) GetEndTime() lib.NullDuration
func (*Executor) GetIterations ¶
func (*Executor) SetEndIterations ¶
func (*Executor) SetEndTime ¶
func (e *Executor) SetEndTime(t lib.NullDuration)
Click to show internal directories.
Click to hide internal directories.