events

package
v0.5.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectEvents

func CollectEvents(source <-chan string) []string

CollectEvents returns a slice of string consisting all the events from the record.FakeRecorder.Events Chan

func DrainEvents

func DrainEvents(events chan string)

DrainEvents clears all the events in the chan recorder.Events This is a hack as the current byomachine reconciler is global to test and the record.FakeRecorder could have events from different tests It could also introduce data races in parallel tests run

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL