alarm

package
v1.1.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlarmSendService added in v1.1.31

type AlarmSendService struct {
	pb.UnimplementedSendServer
	// contains filtered or unexported fields
}

func NewSendService added in v1.1.31

func NewSendService(alarmSendBiz *biz.AlarmSendBiz, alarmGroupBiz *biz.AlarmGroupBiz) *AlarmSendService

NewSendService new a send service.

func (*AlarmSendService) GetAlarmSendHistory added in v1.1.31

func (s *AlarmSendService) GetAlarmSendHistory(ctx context.Context, req *pb.GetAlarmSendRequest) (*pb.GetAlarmSendReply, error)

func (*AlarmSendService) ListSendHistory added in v1.1.31

func (*AlarmSendService) RetrySend added in v1.1.31

type GroupService

type GroupService struct {
	alarmyapi.UnimplementedAlarmServer
	// contains filtered or unexported fields
}

GroupService 告警管理服务

func NewAlarmService

func NewAlarmService(alarmGroupBiz *biz.AlarmGroupBiz, alertBiz *biz.AlarmBiz) *GroupService

NewAlarmService 创建告警管理服务

func (*GroupService) CreateAlarmGroup

CreateAlarmGroup 创建告警组

func (*GroupService) DeleteAlarmGroup

DeleteAlarmGroup 删除告警组

func (*GroupService) GetAlarmGroup

GetAlarmGroup 获取告警组详细信息

func (*GroupService) ListAlarmGroup

ListAlarmGroup 获取告警组列表

func (*GroupService) ListAlarmGroupSelect

ListAlarmGroupSelect 获取告警组下拉列表

func (*GroupService) MessageTest added in v1.1.0

MessageTest 发送测试消息

func (*GroupService) MyAlarmGroupList

MyAlarmGroupList 获取我的告警组

func (*GroupService) UpdateAlarmGroup

UpdateAlarmGroup 更新告警组信息

func (*GroupService) UpdateAlarmGroupStatus

UpdateAlarmGroupStatus 更新告警组状态

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL