Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandResult ¶
type CommandResult struct { Peer string `json:"peer,omitempty"` Status string `json:"status,omitempty"` Comment string `json:"comment,omitempty"` }
CommandResult is used to send the result of a command and will be stored in the current test result.
type TestEventFilter ¶
type TestEventFilter struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Peer string `json:"peer,omitempty"` Source string `json:"source,omitempty"` Filter string `json:"filter,omitempty"` Event string `json:"event,omitempty"` NumExpectedEvents uint8 `json:"num_expected_events,omitempty"` NumReceivedEvents uint8 `json:"num_received_events"` }
TestEventFilter stores information about defined filters and their matching events.
type TestResult ¶
type TestResult struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` CommandResults []*CommandResult }
TestResult stores the results of a test run.
type TestRun ¶
type TestRun struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Commands []string `json:"commands,omitempty"` CurrentPeer string `json:"currentpeer,omitempty"` Status string `json:"status,omitempty"` }
TestRun is the struct for the multi peer test
type TestSourceFilter ¶
type TestSourceFilter struct { Filter string `json:"filter,omitempty"` NumExpectedEvents uint8 `json:"num_events,omitempty"` }
TestSourceFilter is used to send filter to the service via 'testfilter'
type TestSummary ¶
type TestSummary struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Peer string `json:"peer,omitempty"` Status string `json:"status,omitempty"` Kind string `json:"kind,omitempty"` Test string `json:"test,omitempty"` Result string `json:"result,omitempty"` Comment string `json:"comment,omitempty"` }
TestSummary stores the summary of a test run.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.