Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConsoleNotifier ¶
type ConsoleNotifier struct{}
func NewConsoleNotifier ¶
func NewConsoleNotifier() *ConsoleNotifier
func (*ConsoleNotifier) Name ¶
func (c *ConsoleNotifier) Name() string
type FlashdutyNotifier ¶
type FlashdutyNotifier struct {
// contains filtered or unexported fields
}
func NewFlashdutyNotifier ¶
func NewFlashdutyNotifier(cfg *config.FlashdutyConfig) *FlashdutyNotifier
func (*FlashdutyNotifier) Name ¶
func (f *FlashdutyNotifier) Name() string
type PagerDutyNotifier ¶
type PagerDutyNotifier struct {
// contains filtered or unexported fields
}
func NewPagerDutyNotifier ¶
func NewPagerDutyNotifier(cfg *config.PagerDutyConfig) *PagerDutyNotifier
func (*PagerDutyNotifier) Name ¶
func (p *PagerDutyNotifier) Name() string
type ServerNotifier ¶ added in v0.12.0
type ServerNotifier struct{}
ServerNotifier forwards alert events to catpaw-server via the WebSocket connection's ring buffer. Writing to the ring buffer is O(1) and never blocks, so it cannot affect other notifiers or the plugin engine.
func NewServerNotifier ¶ added in v0.12.0
func NewServerNotifier() *ServerNotifier
func (*ServerNotifier) Forward ¶ added in v0.12.0
func (n *ServerNotifier) Forward(event *types.Event) bool
func (*ServerNotifier) Name ¶ added in v0.12.0
func (n *ServerNotifier) Name() string
type WebAPINotifier ¶
type WebAPINotifier struct {
// contains filtered or unexported fields
}
func NewWebAPINotifier ¶
func NewWebAPINotifier(cfg *config.WebAPIConfig) *WebAPINotifier
func (*WebAPINotifier) Name ¶
func (w *WebAPINotifier) Name() string
Click to show internal directories.
Click to hide internal directories.