Documentation ¶
Index ¶
- type GroupService
- func (s *GroupService) CreateAlarmGroup(ctx context.Context, req *alarmyapi.CreateAlarmGroupRequest) (*alarmyapi.CreateAlarmGroupReply, error)
- func (s *GroupService) DeleteAlarmGroup(ctx context.Context, req *alarmyapi.DeleteAlarmGroupRequest) (*alarmyapi.DeleteAlarmGroupReply, error)
- func (s *GroupService) GetAlarmGroup(ctx context.Context, req *alarmyapi.GetAlarmGroupRequest) (*alarmyapi.GetAlarmGroupReply, error)
- func (s *GroupService) ListAlarmGroup(ctx context.Context, req *alarmyapi.ListAlarmGroupRequest) (*alarmyapi.ListAlarmGroupReply, error)
- func (s *GroupService) ListAlarmGroupSelect(ctx context.Context, req *alarmyapi.ListAlarmGroupRequest) (*alarmyapi.ListAlarmGroupSelectReply, error)
- func (s *GroupService) MessageTest(ctx context.Context, req *alarmyapi.MessageTestRequest) (*alarmyapi.MessageTestReply, error)
- func (s *GroupService) MyAlarmGroupList(ctx context.Context, req *alarmyapi.MyAlarmGroupRequest) (*alarmyapi.MyAlarmGroupReply, error)
- func (s *GroupService) UpdateAlarmGroup(ctx context.Context, req *alarmyapi.UpdateAlarmGroupRequest) (*alarmyapi.UpdateAlarmGroupReply, error)
- func (s *GroupService) UpdateAlarmGroupStatus(ctx context.Context, req *alarmyapi.UpdateAlarmGroupStatusRequest) (*alarmyapi.UpdateAlarmGroupStatusReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
func (s *GroupService) CreateAlarmGroup(ctx context.Context, req *alarmyapi.CreateAlarmGroupRequest) (*alarmyapi.CreateAlarmGroupReply, error)
CreateAlarmGroup 创建告警组
func (*GroupService) DeleteAlarmGroup ¶
func (s *GroupService) DeleteAlarmGroup(ctx context.Context, req *alarmyapi.DeleteAlarmGroupRequest) (*alarmyapi.DeleteAlarmGroupReply, error)
DeleteAlarmGroup 删除告警组
func (*GroupService) GetAlarmGroup ¶
func (s *GroupService) GetAlarmGroup(ctx context.Context, req *alarmyapi.GetAlarmGroupRequest) (*alarmyapi.GetAlarmGroupReply, error)
GetAlarmGroup 获取告警组详细信息
func (*GroupService) ListAlarmGroup ¶
func (s *GroupService) ListAlarmGroup(ctx context.Context, req *alarmyapi.ListAlarmGroupRequest) (*alarmyapi.ListAlarmGroupReply, error)
ListAlarmGroup 获取告警组列表
func (*GroupService) ListAlarmGroupSelect ¶
func (s *GroupService) ListAlarmGroupSelect(ctx context.Context, req *alarmyapi.ListAlarmGroupRequest) (*alarmyapi.ListAlarmGroupSelectReply, error)
ListAlarmGroupSelect 获取告警组下拉列表
func (*GroupService) MessageTest ¶ added in v1.1.0
func (s *GroupService) MessageTest(ctx context.Context, req *alarmyapi.MessageTestRequest) (*alarmyapi.MessageTestReply, error)
MessageTest 发送测试消息
func (*GroupService) MyAlarmGroupList ¶
func (s *GroupService) MyAlarmGroupList(ctx context.Context, req *alarmyapi.MyAlarmGroupRequest) (*alarmyapi.MyAlarmGroupReply, error)
MyAlarmGroupList 获取我的告警组
func (*GroupService) UpdateAlarmGroup ¶
func (s *GroupService) UpdateAlarmGroup(ctx context.Context, req *alarmyapi.UpdateAlarmGroupRequest) (*alarmyapi.UpdateAlarmGroupReply, error)
UpdateAlarmGroup 更新告警组信息
func (*GroupService) UpdateAlarmGroupStatus ¶
func (s *GroupService) UpdateAlarmGroupStatus(ctx context.Context, req *alarmyapi.UpdateAlarmGroupStatusRequest) (*alarmyapi.UpdateAlarmGroupStatusReply, error)
UpdateAlarmGroupStatus 更新告警组状态
Click to show internal directories.
Click to hide internal directories.