# Functions
DeriveScenariosFromShortcuts checks for conflicting options and turns any shortcut options (i.e.
NewBaseConfig returns a default base config with the default values.
NewBaseExecutor returns an initialized BaseExecutor.
NewConstantArrivalRateConfig returns a ConstantArrivalRateConfig with default values.
NewConstantVUsConfig returns a ConstantVUsConfig with default values.
NewPerVUIterationsConfig returns a PerVUIterationsConfig with default values.
NewRampingArrivalRateConfig returns a RampingArrivalRateConfig with default values.
NewRampingVUsConfig returns a RampingVUsConfig with its default values.
NewSharedIterationsConfig returns a SharedIterationsConfig with default values.
# Variables
nolint:gochecknoglobals.
# Structs
BaseConfig contains the common config fields for all executors.
BaseExecutor is a helper struct that contains common properties and methods between most executors.
ConstantArrivalRate tries to execute a specific number of iterations for a specific period.
ConstantArrivalRateConfig stores config for the constant arrival-rate executor.
ConstantVUs maintains a constant number of VUs running for the specified duration.
ConstantVUsConfig stores VUs and duration.
ExternallyControlled is an implementation of the old k6 executor that could be controlled externally, via the k6 REST API.
ExternallyControlledConfig stores the number of currently active VUs, the max number of VUs and the executor duration.
ExternallyControlledConfigParams contains all of the options that actually determine the scheduling of VUs in the externally controlled executor.
PerVUIterations executes a specific number of iterations with each VU.
PerVUIterationsConfig stores the number of VUs iterations, as well as maxDuration settings.
RampingArrivalRate tries to execute a specific number of iterations for a specific period.
RampingArrivalRateConfig stores config for the ramping (i.e.
RampingVUs handles the old "stages" execution configuration - it loops iterations with a variable number of VUs for the sum of all of the specified stages' duration.
RampingVUsConfig stores the configuration for the stages executor.
SharedIterations executes a specific total number of iterations, which are all shared by the configured VUs.
SharedIterationsConfig stores the number of VUs iterations, as well as maxDuration settings.
Stage contains.
# Type aliases
ExecutionConflictError is a custom error type used for all of the errors in the DeriveScenariosFromShortcuts() function.