Documentation
¶
Overview ¶
Structure of data for all state changes
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Types = ehevent.Allocators{ "AlertRaised": func() ehevent.Event { return &AlertRaised{} }, "AlertAcknowledged": func() ehevent.Event { return &AlertAcknowledged{} }, "UnnoticedAlertsNotified": func() ehevent.Event { return &UnnoticedAlertsNotified{} }, "HttpMonitorCreated": func() ehevent.Event { return &HttpMonitorCreated{} }, "HttpMonitorEnabledUpdated": func() ehevent.Event { return &HttpMonitorEnabledUpdated{} }, "HttpMonitorDeleted": func() ehevent.Event { return &HttpMonitorDeleted{} }, "DeadMansSwitchCreated": func() ehevent.Event { return &DeadMansSwitchCreated{} }, "DeadMansSwitchCheckin": func() ehevent.Event { return &DeadMansSwitchCheckin{} }, "DeadMansSwitchDeleted": func() ehevent.Event { return &DeadMansSwitchDeleted{} }, }
Functions ¶
This section is empty.
Types ¶
type AlertAcknowledged ¶
type AlertAcknowledged struct {
Id string
// contains filtered or unexported fields
}
func NewAlertAcknowledged ¶
func NewAlertAcknowledged( id string, meta ehevent.EventMeta, ) *AlertAcknowledged
func (*AlertAcknowledged) Meta ¶
func (e *AlertAcknowledged) Meta() *ehevent.EventMeta
func (*AlertAcknowledged) MetaType ¶
func (e *AlertAcknowledged) MetaType() string
type AlertRaised ¶
type AlertRaised struct {
Id string
Subject string
Details string
// contains filtered or unexported fields
}
func NewAlertRaised ¶
func (*AlertRaised) Meta ¶
func (e *AlertRaised) Meta() *ehevent.EventMeta
func (*AlertRaised) MetaType ¶
func (e *AlertRaised) MetaType() string
type DeadMansSwitchCheckin ¶
type DeadMansSwitchCheckin struct {
Subject string
Ttl time.Time
// contains filtered or unexported fields
}
func (*DeadMansSwitchCheckin) Meta ¶
func (e *DeadMansSwitchCheckin) Meta() *ehevent.EventMeta
func (*DeadMansSwitchCheckin) MetaType ¶
func (e *DeadMansSwitchCheckin) MetaType() string
type DeadMansSwitchCreated ¶
type DeadMansSwitchCreated struct {
Subject string
Ttl time.Time
// contains filtered or unexported fields
}
func (*DeadMansSwitchCreated) Meta ¶
func (e *DeadMansSwitchCreated) Meta() *ehevent.EventMeta
func (*DeadMansSwitchCreated) MetaType ¶
func (e *DeadMansSwitchCreated) MetaType() string
type DeadMansSwitchDeleted ¶
type DeadMansSwitchDeleted struct {
Subject string
// contains filtered or unexported fields
}
func NewDeadMansSwitchDeleted ¶
func NewDeadMansSwitchDeleted( subject string, meta ehevent.EventMeta, ) *DeadMansSwitchDeleted
func (*DeadMansSwitchDeleted) Meta ¶
func (e *DeadMansSwitchDeleted) Meta() *ehevent.EventMeta
func (*DeadMansSwitchDeleted) MetaType ¶
func (e *DeadMansSwitchDeleted) MetaType() string
type HttpMonitorCreated ¶
type HttpMonitorCreated struct {
Id string
Enabled bool
Url string
Find string
// contains filtered or unexported fields
}
func NewHttpMonitorCreated ¶
func (*HttpMonitorCreated) Meta ¶
func (e *HttpMonitorCreated) Meta() *ehevent.EventMeta
func (*HttpMonitorCreated) MetaType ¶
func (e *HttpMonitorCreated) MetaType() string
type HttpMonitorDeleted ¶
type HttpMonitorDeleted struct {
Id string
// contains filtered or unexported fields
}
func NewHttpMonitorDeleted ¶
func NewHttpMonitorDeleted( id string, meta ehevent.EventMeta, ) *HttpMonitorDeleted
func (*HttpMonitorDeleted) Meta ¶
func (e *HttpMonitorDeleted) Meta() *ehevent.EventMeta
func (*HttpMonitorDeleted) MetaType ¶
func (e *HttpMonitorDeleted) MetaType() string
type HttpMonitorEnabledUpdated ¶
type HttpMonitorEnabledUpdated struct {
Id string
Enabled bool
// contains filtered or unexported fields
}
func NewHttpMonitorEnabledUpdated ¶
func NewHttpMonitorEnabledUpdated( id string, enabled bool, meta ehevent.EventMeta, ) *HttpMonitorEnabledUpdated
func (*HttpMonitorEnabledUpdated) Meta ¶
func (e *HttpMonitorEnabledUpdated) Meta() *ehevent.EventMeta
func (*HttpMonitorEnabledUpdated) MetaType ¶
func (e *HttpMonitorEnabledUpdated) MetaType() string
type UnnoticedAlertsNotified ¶
type UnnoticedAlertsNotified struct {
AlertIds []string
// contains filtered or unexported fields
}
func NewUnnoticedAlertsNotified ¶
func NewUnnoticedAlertsNotified( alertIds []string, meta ehevent.EventMeta, ) *UnnoticedAlertsNotified
func (*UnnoticedAlertsNotified) Meta ¶
func (e *UnnoticedAlertsNotified) Meta() *ehevent.EventMeta
func (*UnnoticedAlertsNotified) MetaType ¶
func (e *UnnoticedAlertsNotified) MetaType() string
Click to show internal directories.
Click to hide internal directories.