Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Factories contains the list of all available runners. The runners can each then be created using the function saved in the map.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner interface { // GetHostsForTest return a list of hots from the Runner GetHostsForTest(test *config.Test) (*testers.Hosts, error) // Prepare run steps to prepare the Runner and / or itself to things. Prepare(runOpts config.RunOptions, plan *testers.Plan) error // Execute run / execute certain commands and so that are in the testers.Plan Execute(plan *testers.Plan, parser chan<- parsers.Input) error // Cleanup cleanup resources and other things after the commands from the testers.Plan ran. Cleanup(plan *testers.Plan) error }
Runner is the interface a runner has to implement.
Click to show internal directories.
Click to hide internal directories.