Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssertionFunc ¶
AssertionFunc is called every poll interval until it returns nil.
type Condition ¶
Condition is a object which Wait()s for some condition to become true.
Condition can describe itself via String() method.
func PollingCondition ¶
func PollingCondition(description string, assertion AssertionFunc, timeout, interval time.Duration) Condition
PollingCondition converts AssertionFunc into Condition by calling it every interval until timeout is reached.
func WaitForAll ¶
WaitForAll creates a condition which waits for all the conditions to be successful
func WaitForFileToExist ¶
WaitForFileToExist is a service condition that will wait for the existence of a file.
func WaitForFilesToExist ¶
WaitForFilesToExist is a service condition that will wait for the existence of all the files.
Click to show internal directories.
Click to hide internal directories.