Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CheckFunc ¶
type CheckFunc func() bool
CheckFunc is a condition checker that passed to WaitUntil. Its implementation may call c.Fatal() to abort the test, or c.Log() to add more information.
type WaitOp ¶
type WaitOp struct {
// contains filtered or unexported fields
}
WaitOp represents available options when execute WaitUntil
type WaitOption ¶
type WaitOption func(op *WaitOp)
WaitOption configures WaitOp
func WithRetryTimes ¶
func WithRetryTimes(retryTimes int) WaitOption
WithRetryTimes specify the retry times
func WithSleepInterval ¶
func WithSleepInterval(sleep time.Duration) WaitOption
WithSleepInterval specify the sleep duration
Click to show internal directories.
Click to hide internal directories.