Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventCmdStart = event.Name("GatherCmdStart") EventCmdEnd = event.Name("GatherCmdEnd") )
event names for this plugin
Variables ¶
View Source
var Events = []event.Name{ EventCmdStart, EventCmdEnd, }
Events defines the events that a TestStep is allow to emit
View Source
var Name = "GatherCmd"
Name is the name used to look this plugin up.
Functions ¶
Types ¶
type GatherCmd ¶
type GatherCmd struct {
// contains filtered or unexported fields
}
GatherCmd is used to run arbitrary commands as test steps but only once for all the targets. This can be used as test setup/teardown.
func (*GatherCmd) Run ¶
func (ts *GatherCmd) Run( ctx xcontext.Context, ch test.TestStepChannels, emitter testevent.Emitter, stepsVars test.StepsVariables, params test.TestStepParameters, resumeState json.RawMessage, ) (json.RawMessage, error)
Run executes the step
func (*GatherCmd) ValidateParameters ¶
ValidateParameters validates the parameters associated to the TestStep
Click to show internal directories.
Click to hide internal directories.