Documentation ¶
Index ¶
- Variables
- type Client
- func (client Client) BlockUntilAggregatedNonprimaryNodesReport() (types.Report, error)
- func (client Client) BlockUntilNonprimaryNodesHaveFinished() error
- func (client Client) BlockUntilSynchronizedBeforeSuiteData() ([]byte, error)
- func (client Client) CheckServerUp() bool
- func (client Client) FetchNextCounter() (int, error)
- func (client Client) PostDidRun(report types.SpecReport) error
- func (client Client) PostSuiteDidEnd(report types.Report) error
- func (client Client) PostSuiteWillBegin(report types.Report) error
- func (client Client) PostSynchronizedBeforeSuiteFailed() error
- func (client Client) PostSynchronizedBeforeSuiteSucceeded(data []byte) error
- type ParallelIndexCounter
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorFailed = fmt.Errorf("failed!")
View Source
var ErrorGone = fmt.Errorf("gone!")
View Source
var POLLING_INTERVAL = 50 * time.Millisecond
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) BlockUntilAggregatedNonprimaryNodesReport ¶
func (Client) BlockUntilNonprimaryNodesHaveFinished ¶
func (Client) BlockUntilSynchronizedBeforeSuiteData ¶
func (Client) CheckServerUp ¶
func (Client) FetchNextCounter ¶
func (Client) PostDidRun ¶
func (client Client) PostDidRun(report types.SpecReport) error
func (Client) PostSuiteWillBegin ¶
func (Client) PostSynchronizedBeforeSuiteFailed ¶
func (Client) PostSynchronizedBeforeSuiteSucceeded ¶
type ParallelIndexCounter ¶
type ParallelIndexCounter struct {
Index int
}
type Server ¶
type Server struct { Done chan interface{} // contains filtered or unexported fields }
Server spins up on an automatically selected port and listens for communication from the forwarding reporter. It then forwards that communication to attached reporters.
func (*Server) Address ¶
The address the server can be reached it. Pass this into the `ForwardingReporter`.
func (*Server) RegisterAlive ¶
Click to show internal directories.
Click to hide internal directories.