Documentation ¶
Overview ¶
Package waitport provides an ability of waiting for a port on remote host to be opened for listening
Index ¶
Constants ¶
View Source
const ( EventCmdStart = event.Name(Name + "Start") EventCmdEnd = event.Name(Name + "End") )
event names for this plugin.
View Source
const Name = "waitport"
Name is the name used to look this plugin up.
Variables ¶
View Source
var Events = []event.Name{ EventCmdStart, EventCmdEnd, }
Events defines the events that a TestStep is allow to emit
Functions ¶
Types ¶
type WaitPort ¶
type WaitPort struct { }
WaitPort provides an ability of waiting for a port on remote host to be opened for listening
func (*WaitPort) Run ¶
func (ts *WaitPort) Run(ctx xcontext.Context, ch test.TestStepChannels, inputParams test.TestStepParameters, ev testevent.Emitter, resumeState json.RawMessage) (json.RawMessage, error)
Run executes the cmd step.
func (*WaitPort) ValidateParameters ¶
ValidateParameters validates the parameters associated to the TestStep
Click to show internal directories.
Click to hide internal directories.