Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaAlarmService ¶
type MetaAlarmService interface { CreateMetaAlarm(event *types.Event, children []types.Alarm, rule metaalarm.Rule) (types.Event, error) AddChildToMetaAlarm(metaAlarm types.Alarm, childAlarm *types.Alarm) error AddMultipleChildsToMetaAlarm(metaAlarm types.Alarm, children []types.Alarm) error }
MetaAlarmService ...
func NewMetaAlarmService ¶
func NewMetaAlarmService(alarmAdapter alarm.Adapter, entityAdapter entity.Adapter, logger zerolog.Logger) MetaAlarmService
NewMetaAlarmService instanciates meta-alarm service; receives entityAdapter as adapter to Entity collection and alarmAdapter as adapter to db Alarm collection
Click to show internal directories.
Click to hide internal directories.