Documentation ¶
Index ¶
- type RuleServer
- func (s *RuleServer) AlarmInfoCreate(ctx context.Context, in *ud.AlarmInfo) (*ud.WithID, error)
- func (s *RuleServer) AlarmInfoDelete(ctx context.Context, in *ud.WithID) (*ud.Empty, error)
- func (s *RuleServer) AlarmInfoIndex(ctx context.Context, in *ud.AlarmInfoIndexReq) (*ud.AlarmInfoIndexResp, error)
- func (s *RuleServer) AlarmInfoRead(ctx context.Context, in *ud.WithID) (*ud.AlarmInfo, error)
- func (s *RuleServer) AlarmInfoUpdate(ctx context.Context, in *ud.AlarmInfo) (*ud.Empty, error)
- func (s *RuleServer) AlarmRecordCreate(ctx context.Context, in *ud.AlarmRecordCreateReq) (*ud.Empty, error)
- func (s *RuleServer) AlarmRecordDeal(ctx context.Context, in *ud.AlarmRecordDealReq) (*ud.Empty, error)
- func (s *RuleServer) AlarmRecordIndex(ctx context.Context, in *ud.AlarmRecordIndexReq) (*ud.AlarmRecordIndexResp, error)
- func (s *RuleServer) AlarmSceneDelete(ctx context.Context, in *ud.AlarmSceneDeleteReq) (*ud.Empty, error)
- func (s *RuleServer) AlarmSceneIndex(ctx context.Context, in *ud.AlarmSceneIndexReq) (*ud.AlarmSceneIndexResp, error)
- func (s *RuleServer) AlarmSceneMultiCreate(ctx context.Context, in *ud.AlarmSceneMultiSaveReq) (*ud.Empty, error)
- func (s *RuleServer) SceneInfoCreate(ctx context.Context, in *ud.SceneInfo) (*ud.WithID, error)
- func (s *RuleServer) SceneInfoDelete(ctx context.Context, in *ud.WithID) (*ud.Empty, error)
- func (s *RuleServer) SceneInfoIndex(ctx context.Context, in *ud.SceneInfoIndexReq) (*ud.SceneInfoIndexResp, error)
- func (s *RuleServer) SceneInfoRead(ctx context.Context, in *ud.WithID) (*ud.SceneInfo, error)
- func (s *RuleServer) SceneInfoUpdate(ctx context.Context, in *ud.SceneInfo) (*ud.Empty, error)
- func (s *RuleServer) SceneLogIndex(ctx context.Context, in *ud.SceneLogIndexReq) (*ud.SceneLogIndexResp, error)
- func (s *RuleServer) SceneManuallyTrigger(ctx context.Context, in *ud.SceneManuallyTriggerReq) (*ud.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuleServer ¶
type RuleServer struct { ud.UnimplementedRuleServer // contains filtered or unexported fields }
func NewRuleServer ¶
func NewRuleServer(svcCtx *svc.ServiceContext) *RuleServer
func (*RuleServer) AlarmInfoCreate ¶
func (*RuleServer) AlarmInfoDelete ¶
func (*RuleServer) AlarmInfoIndex ¶
func (s *RuleServer) AlarmInfoIndex(ctx context.Context, in *ud.AlarmInfoIndexReq) (*ud.AlarmInfoIndexResp, error)
func (*RuleServer) AlarmInfoRead ¶
func (*RuleServer) AlarmInfoUpdate ¶
func (*RuleServer) AlarmRecordCreate ¶
func (s *RuleServer) AlarmRecordCreate(ctx context.Context, in *ud.AlarmRecordCreateReq) (*ud.Empty, error)
func (*RuleServer) AlarmRecordDeal ¶
func (s *RuleServer) AlarmRecordDeal(ctx context.Context, in *ud.AlarmRecordDealReq) (*ud.Empty, error)
func (*RuleServer) AlarmRecordIndex ¶
func (s *RuleServer) AlarmRecordIndex(ctx context.Context, in *ud.AlarmRecordIndexReq) (*ud.AlarmRecordIndexResp, error)
告警记录
func (*RuleServer) AlarmSceneDelete ¶
func (s *RuleServer) AlarmSceneDelete(ctx context.Context, in *ud.AlarmSceneDeleteReq) (*ud.Empty, error)
func (*RuleServer) AlarmSceneIndex ¶
func (s *RuleServer) AlarmSceneIndex(ctx context.Context, in *ud.AlarmSceneIndexReq) (*ud.AlarmSceneIndexResp, error)
func (*RuleServer) AlarmSceneMultiCreate ¶
func (s *RuleServer) AlarmSceneMultiCreate(ctx context.Context, in *ud.AlarmSceneMultiSaveReq) (*ud.Empty, error)
告警关联场景联动
func (*RuleServer) SceneInfoCreate ¶
场景
func (*RuleServer) SceneInfoDelete ¶
func (*RuleServer) SceneInfoIndex ¶
func (s *RuleServer) SceneInfoIndex(ctx context.Context, in *ud.SceneInfoIndexReq) (*ud.SceneInfoIndexResp, error)
func (*RuleServer) SceneInfoRead ¶
func (*RuleServer) SceneInfoUpdate ¶
func (*RuleServer) SceneLogIndex ¶
func (s *RuleServer) SceneLogIndex(ctx context.Context, in *ud.SceneLogIndexReq) (*ud.SceneLogIndexResp, error)
func (*RuleServer) SceneManuallyTrigger ¶
func (s *RuleServer) SceneManuallyTrigger(ctx context.Context, in *ud.SceneManuallyTriggerReq) (*ud.Empty, error)
Click to show internal directories.
Click to hide internal directories.