Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Map = map[string]interface{}{ "default": &Default{}, "slack": &slack.Slack{}, }
Map maps each event handler function to a name for easily lookup
Functions ¶
This section is empty.
Types ¶
type Default ¶
type Default struct { }
Default handler implements Handler interface, print each event with JSON format
func (*Default) ObjectCreated ¶
func (d *Default) ObjectCreated(obj interface{})
func (*Default) ObjectDeleted ¶
func (d *Default) ObjectDeleted(obj interface{})
func (*Default) ObjectUpdated ¶
func (d *Default) ObjectUpdated(oldObj, newObj interface{})
Click to show internal directories.
Click to hide internal directories.