Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventBatch ¶
type EventSink ¶
type EventSink interface { Name() string // Exports data to the external storage. The function should be synchronous/blocking and finish only // after the given EventBatch was written. This will allow sink manager to push data only to these // sinks that finished writing the previous data. ExportEvents(*EventBatch) // Stops the sink at earliest convenience. Stop() }
type EventSource ¶
type EventSource interface { // This is a mutable method. Each call to this method clears the internal buffer so that // each event can be obtained only once. GetNewEvents() *EventBatch }
A place from where the events should be scraped.
Click to show internal directories.
Click to hide internal directories.