Documentation ¶ Index ¶ func Init() func Notify(rule *rules.Rule, event *events.Event, log utils.LogLine) type Notifier type Notifiers func GetNotifiers() *Notifiers func (notifiers *Notifiers) Add(notifier ...*Notifier) func (notifiers *Notifiers) GetNotifier(name string) *Notifier Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init() func Notify ¶ func Notify(rule *rules.Rule, event *events.Event, log utils.LogLine) Types ¶ type Notifier ¶ type Notifier struct { Init func(fields map[string]interface{}) error Notification func(log utils.LogLine) error Name string // contains filtered or unexported fields } type Notifiers ¶ type Notifiers []*Notifier func GetNotifiers ¶ func GetNotifiers() *Notifiers func (*Notifiers) Add ¶ func (notifiers *Notifiers) Add(notifier ...*Notifier) func (*Notifiers) GetNotifier ¶ func (notifiers *Notifiers) GetNotifier(name string) *Notifier Source Files ¶ View all Source files notifiers.go Directories ¶ Show internal Expand all Path Synopsis http k8sevents slack smtp webhook Click to show internal directories. Click to hide internal directories.