local

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2017 License: AGPL-3.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	Runner lib.Runner
	Logger *log.Logger
	// contains filtered or unexported fields
}

func New

func New(r lib.Runner) *Executor

func (*Executor) GetEndIterations

func (e *Executor) GetEndIterations() null.Int

func (*Executor) GetEndTime

func (e *Executor) GetEndTime() lib.NullDuration

func (*Executor) GetIterations

func (e *Executor) GetIterations() int64

func (*Executor) GetLogger

func (e *Executor) GetLogger() *log.Logger

func (*Executor) GetRunner

func (e *Executor) GetRunner() lib.Runner

func (*Executor) GetTime

func (e *Executor) GetTime() time.Duration

func (*Executor) GetVUs

func (e *Executor) GetVUs() int64

func (*Executor) GetVUsMax

func (e *Executor) GetVUsMax() int64

func (*Executor) IsPaused

func (e *Executor) IsPaused() bool

func (*Executor) IsRunning

func (e *Executor) IsRunning() bool

func (*Executor) Run

func (e *Executor) Run(parent context.Context, out chan<- []stats.Sample) error

func (*Executor) SetEndIterations

func (e *Executor) SetEndIterations(i null.Int)

func (*Executor) SetEndTime

func (e *Executor) SetEndTime(t lib.NullDuration)

func (*Executor) SetLogger

func (e *Executor) SetLogger(l *log.Logger)

func (*Executor) SetPaused

func (e *Executor) SetPaused(paused bool)

func (*Executor) SetVUs

func (e *Executor) SetVUs(num int64) error

func (*Executor) SetVUsMax

func (e *Executor) SetVUsMax(max int64) error

Jump to

Keyboard shortcuts

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