Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sink ¶
type Sink interface { events.EventHandler OnList(*api_v1.EventList) Run(stopCh <-chan struct{}) }
Sink interface represents a generic sink that is responsible for handling actions upon the event objects and filter the initial events list. Note, that OnAdd method from the EventHandler interface will only receive objects that were added during watching phase, not before. If sink wishes to process the latter additions, it should implement additional logic in the OnList method.
type SinkFactory ¶
SinkFactory creates a new sink, using user-provided parameters.
Click to show internal directories.
Click to hide internal directories.