Documentation ¶
Index ¶
- func ProcessStages(startVUs int64, stages []lib.Stage, t time.Duration) (null.Int, bool)
- type Executor
- func (e *Executor) GetEndIterations() null.Int
- func (e *Executor) GetEndTime() types.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, engineOut chan<- stats.SampleContainer) (reterr error)
- func (e *Executor) SetEndIterations(i null.Int)
- func (e *Executor) SetEndTime(t types.NullDuration)
- func (e *Executor) SetLogger(l *log.Logger)
- func (e *Executor) SetPaused(paused bool)
- func (e *Executor) SetRunSetup(r bool)
- func (e *Executor) SetRunTeardown(r 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 ¶
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() types.NullDuration
func (*Executor) GetIterations ¶
func (*Executor) SetEndIterations ¶
func (*Executor) SetEndTime ¶
func (e *Executor) SetEndTime(t types.NullDuration)
func (*Executor) SetRunSetup ¶ added in v0.20.0
func (*Executor) SetRunTeardown ¶ added in v0.20.0
Click to show internal directories.
Click to hide internal directories.