Documentation ¶
Index ¶
- func ChannelHandler(ch chan resource.Event) resource.EventHandler
- func Expect(t *testing.T, ch chan resource.Event, options ...retry.Option) resource.Event
- func ExpectNone(t *testing.T, ch chan resource.Event, options ...retry.Option)
- func ExpectOne(t *testing.T, ch chan resource.Event, options ...retry.Option) resource.Event
- func Poll(ch chan resource.Event, options ...retry.Option) *resource.Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChannelHandler ¶
func ChannelHandler(ch chan resource.Event) resource.EventHandler
ChannelHandler creates an EventHandler that adds the event to the provided channel.
func Expect ¶
Expect polls the channel for the next event and returns it. Fails the test if no event found.
func ExpectNone ¶
ExpectNone polls the channel and fails the test if any events are available.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.