Documentation
¶
Overview ¶
Package exec provides the xk6 Modules implementation for running local commands using Javascript
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandOptions ¶
type CommandOptions struct {
Dir string
}
CommandOptions contains the options that can be passed to command.
type EXEC ¶
type EXEC struct {
// contains filtered or unexported fields
}
EXEC represents an instance of the EXEC module for every VU.
type RootModule ¶
type RootModule struct{}
RootModule is the global module object type. It is instantiated once per test run and will be used to create `k6/x/exec` module instances for each VU.
func (*RootModule) NewModuleInstance ¶
func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance
NewModuleInstance implements the modules.Module interface to return a new instance for each VU.
Click to show internal directories.
Click to hide internal directories.