Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Retries = 13 RetryDelay = 3 * time.Second )
Functions ¶
func JsonTestCheck ¶
func JsonTestCheck(t *testing.T, checker ec.MultiEventChecker) error
JsonTestCheck checks a JSON file
func JsonTestCheckExpect ¶
Types ¶
type DebugError ¶
type DebugError struct {
// contains filtered or unexported fields
}
DebugError is an error that will create a debug output message
func NewDebugError ¶
func NewDebugError(err error) *DebugError
type JsonEOF ¶
type JsonEOF struct {
// contains filtered or unexported fields
}
JsonEOF is a type of error where we went over all the events and there was no match.
The reason to have a special error is that there are cases where the events we are looking for might not have been processed yet. In these cases, we need to retry.
Click to show internal directories.
Click to hide internal directories.