Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventSinkInterface ¶
type EventSinkInterface interface { Insert(obj interface{}) Update(obj interface{}) ExportNodeEvents(event watch.Event) }
EventSinkInterface is the interface used to shunt events
func ManufactureSink ¶
func ManufactureSink() (e EventSinkInterface)
ManufactureSink will manufacture a sinks according to viper configs TODO: Determine if it should return an array of sinks
func NewMysqlSink ¶
func NewMysqlSink(cfg MysqlConfig) (EventSinkInterface, error)
Returns a thread-safe implementation of EventSinkInterface for InfluxDB.
type GlogSink ¶
type GlogSink struct { }
GlogSink is the most basic sink Useful when you already have ELK/EFK Stack
func (*GlogSink) ExportNodeEvents ¶
UpdateEvents implements the EventSinkInterface
type MysqlConfig ¶
type MysqlSink ¶
func (*MysqlSink) ExportNodeEvents ¶
UpdateEvents implements the EventSinkInterface
Click to show internal directories.
Click to hide internal directories.