Documentation ¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type GetAlertCountRequest
- func (*GetAlertCountRequest) Descriptor() ([]byte, []int)
- func (m *GetAlertCountRequest) GetAggregateInterval() string
- func (m *GetAlertCountRequest) GetEt() int32
- func (m *GetAlertCountRequest) GetInstanceId() string
- func (m *GetAlertCountRequest) GetInstanceId_In() string
- func (m *GetAlertCountRequest) GetObjectId() string
- func (m *GetAlertCountRequest) GetObjectId_In() string
- func (m *GetAlertCountRequest) GetSt() int32
- func (*GetAlertCountRequest) ProtoMessage()
- func (m *GetAlertCountRequest) Reset()
- func (m *GetAlertCountRequest) String() string
- func (this *GetAlertCountRequest) Validate() error
- func (m *GetAlertCountRequest) XXX_DiscardUnknown()
- func (m *GetAlertCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAlertCountRequest) XXX_Merge(src proto.Message)
- func (m *GetAlertCountRequest) XXX_Size() int
- func (m *GetAlertCountRequest) XXX_Unmarshal(b []byte) error
- type GetAlertCountResponse
- func (*GetAlertCountResponse) Descriptor() ([]byte, []int)
- func (m *GetAlertCountResponse) GetCode() int32
- func (m *GetAlertCountResponse) GetData() []*GetAlertCountResponse_Data
- func (m *GetAlertCountResponse) GetMsg() string
- func (*GetAlertCountResponse) ProtoMessage()
- func (m *GetAlertCountResponse) Reset()
- func (m *GetAlertCountResponse) String() string
- func (this *GetAlertCountResponse) Validate() error
- func (m *GetAlertCountResponse) XXX_DiscardUnknown()
- func (m *GetAlertCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAlertCountResponse) XXX_Merge(src proto.Message)
- func (m *GetAlertCountResponse) XXX_Size() int
- func (m *GetAlertCountResponse) XXX_Unmarshal(b []byte) error
- type GetAlertCountResponseWrapper
- func (*GetAlertCountResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetAlertCountResponseWrapper) GetCode() int32
- func (m *GetAlertCountResponseWrapper) GetCodeExplain() string
- func (m *GetAlertCountResponseWrapper) GetData() *GetAlertCountResponse
- func (m *GetAlertCountResponseWrapper) GetError() string
- func (*GetAlertCountResponseWrapper) ProtoMessage()
- func (m *GetAlertCountResponseWrapper) Reset()
- func (m *GetAlertCountResponseWrapper) String() string
- func (this *GetAlertCountResponseWrapper) Validate() error
- func (m *GetAlertCountResponseWrapper) XXX_DiscardUnknown()
- func (m *GetAlertCountResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAlertCountResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetAlertCountResponseWrapper) XXX_Size() int
- func (m *GetAlertCountResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetAlertCountResponse_Data
- func (*GetAlertCountResponse_Data) Descriptor() ([]byte, []int)
- func (m *GetAlertCountResponse_Data) GetCount() int32
- func (m *GetAlertCountResponse_Data) GetIds() []string
- func (m *GetAlertCountResponse_Data) GetTime() int32
- func (*GetAlertCountResponse_Data) ProtoMessage()
- func (m *GetAlertCountResponse_Data) Reset()
- func (m *GetAlertCountResponse_Data) String() string
- func (this *GetAlertCountResponse_Data) Validate() error
- func (m *GetAlertCountResponse_Data) XXX_DiscardUnknown()
- func (m *GetAlertCountResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAlertCountResponse_Data) XXX_Merge(src proto.Message)
- func (m *GetAlertCountResponse_Data) XXX_Size() int
- func (m *GetAlertCountResponse_Data) XXX_Unmarshal(b []byte) error
- type GetAlertEventDetailRequest
- func (*GetAlertEventDetailRequest) Descriptor() ([]byte, []int)
- func (m *GetAlertEventDetailRequest) GetEt() string
- func (m *GetAlertEventDetailRequest) GetSt() string
- func (m *GetAlertEventDetailRequest) GetXId() string
- func (*GetAlertEventDetailRequest) ProtoMessage()
- func (m *GetAlertEventDetailRequest) Reset()
- func (m *GetAlertEventDetailRequest) String() string
- func (this *GetAlertEventDetailRequest) Validate() error
- func (m *GetAlertEventDetailRequest) XXX_DiscardUnknown()
- func (m *GetAlertEventDetailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAlertEventDetailRequest) XXX_Merge(src proto.Message)
- func (m *GetAlertEventDetailRequest) XXX_Size() int
- func (m *GetAlertEventDetailRequest) XXX_Unmarshal(b []byte) error
- type GetAlertEventDetailResponse
- func (*GetAlertEventDetailResponse) Descriptor() ([]byte, []int)
- func (m *GetAlertEventDetailResponse) GetCode() int32
- func (m *GetAlertEventDetailResponse) GetData() []*monitor.AlertEvent
- func (m *GetAlertEventDetailResponse) GetMsg() string
- func (m *GetAlertEventDetailResponse) GetPage() int32
- func (m *GetAlertEventDetailResponse) GetPageSize() int32
- func (m *GetAlertEventDetailResponse) GetTotal() int32
- func (*GetAlertEventDetailResponse) ProtoMessage()
- func (m *GetAlertEventDetailResponse) Reset()
- func (m *GetAlertEventDetailResponse) String() string
- func (this *GetAlertEventDetailResponse) Validate() error
- func (m *GetAlertEventDetailResponse) XXX_DiscardUnknown()
- func (m *GetAlertEventDetailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAlertEventDetailResponse) XXX_Merge(src proto.Message)
- func (m *GetAlertEventDetailResponse) XXX_Size() int
- func (m *GetAlertEventDetailResponse) XXX_Unmarshal(b []byte) error
- type GetAlertEventDetailResponseWrapper
- func (*GetAlertEventDetailResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetAlertEventDetailResponseWrapper) GetCode() int32
- func (m *GetAlertEventDetailResponseWrapper) GetCodeExplain() string
- func (m *GetAlertEventDetailResponseWrapper) GetData() *GetAlertEventDetailResponse
- func (m *GetAlertEventDetailResponseWrapper) GetError() string
- func (*GetAlertEventDetailResponseWrapper) ProtoMessage()
- func (m *GetAlertEventDetailResponseWrapper) Reset()
- func (m *GetAlertEventDetailResponseWrapper) String() string
- func (this *GetAlertEventDetailResponseWrapper) Validate() error
- func (m *GetAlertEventDetailResponseWrapper) XXX_DiscardUnknown()
- func (m *GetAlertEventDetailResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAlertEventDetailResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetAlertEventDetailResponseWrapper) XXX_Size() int
- func (m *GetAlertEventDetailResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetAlertEventListRequest
- func (*GetAlertEventListRequest) Descriptor() ([]byte, []int)
- func (m *GetAlertEventListRequest) GetEt() string
- func (m *GetAlertEventListRequest) GetInstanceId() string
- func (m *GetAlertEventListRequest) GetObjectId() string
- func (m *GetAlertEventListRequest) GetPage() int32
- func (m *GetAlertEventListRequest) GetPageSize() int32
- func (m *GetAlertEventListRequest) GetSt() string
- func (m *GetAlertEventListRequest) GetXId() string
- func (m *GetAlertEventListRequest) GetXSelect__() string
- func (*GetAlertEventListRequest) ProtoMessage()
- func (m *GetAlertEventListRequest) Reset()
- func (m *GetAlertEventListRequest) String() string
- func (this *GetAlertEventListRequest) Validate() error
- func (m *GetAlertEventListRequest) XXX_DiscardUnknown()
- func (m *GetAlertEventListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAlertEventListRequest) XXX_Merge(src proto.Message)
- func (m *GetAlertEventListRequest) XXX_Size() int
- func (m *GetAlertEventListRequest) XXX_Unmarshal(b []byte) error
- type GetAlertEventListResponse
- func (*GetAlertEventListResponse) Descriptor() ([]byte, []int)
- func (m *GetAlertEventListResponse) GetCode() int32
- func (m *GetAlertEventListResponse) GetData() []*monitor.AlertEvent
- func (m *GetAlertEventListResponse) GetMsg() string
- func (m *GetAlertEventListResponse) GetPage() int32
- func (m *GetAlertEventListResponse) GetPageSize() int32
- func (m *GetAlertEventListResponse) GetTotal() int32
- func (*GetAlertEventListResponse) ProtoMessage()
- func (m *GetAlertEventListResponse) Reset()
- func (m *GetAlertEventListResponse) String() string
- func (this *GetAlertEventListResponse) Validate() error
- func (m *GetAlertEventListResponse) XXX_DiscardUnknown()
- func (m *GetAlertEventListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAlertEventListResponse) XXX_Merge(src proto.Message)
- func (m *GetAlertEventListResponse) XXX_Size() int
- func (m *GetAlertEventListResponse) XXX_Unmarshal(b []byte) error
- type GetAlertEventListResponseWrapper
- func (*GetAlertEventListResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetAlertEventListResponseWrapper) GetCode() int32
- func (m *GetAlertEventListResponseWrapper) GetCodeExplain() string
- func (m *GetAlertEventListResponseWrapper) GetData() *GetAlertEventListResponse
- func (m *GetAlertEventListResponseWrapper) GetError() string
- func (*GetAlertEventListResponseWrapper) ProtoMessage()
- func (m *GetAlertEventListResponseWrapper) Reset()
- func (m *GetAlertEventListResponseWrapper) String() string
- func (this *GetAlertEventListResponseWrapper) Validate() error
- func (m *GetAlertEventListResponseWrapper) XXX_DiscardUnknown()
- func (m *GetAlertEventListResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAlertEventListResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetAlertEventListResponseWrapper) XXX_Size() int
- func (m *GetAlertEventListResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetNotRecoverAlertEventListRequest
- func (*GetNotRecoverAlertEventListRequest) Descriptor() ([]byte, []int)
- func (m *GetNotRecoverAlertEventListRequest) GetAlertItem() string
- func (m *GetNotRecoverAlertEventListRequest) GetAlertSubType() string
- func (m *GetNotRecoverAlertEventListRequest) GetAlertType() string
- func (m *GetNotRecoverAlertEventListRequest) GetEt() string
- func (m *GetNotRecoverAlertEventListRequest) GetInstanceId() string
- func (m *GetNotRecoverAlertEventListRequest) GetKeyWord() string
- func (m *GetNotRecoverAlertEventListRequest) GetObjectId() string
- func (m *GetNotRecoverAlertEventListRequest) GetPage() int32
- func (m *GetNotRecoverAlertEventListRequest) GetPageSize() int32
- func (m *GetNotRecoverAlertEventListRequest) GetSt() string
- func (m *GetNotRecoverAlertEventListRequest) GetXSortby__() string
- func (*GetNotRecoverAlertEventListRequest) ProtoMessage()
- func (m *GetNotRecoverAlertEventListRequest) Reset()
- func (m *GetNotRecoverAlertEventListRequest) String() string
- func (this *GetNotRecoverAlertEventListRequest) Validate() error
- func (m *GetNotRecoverAlertEventListRequest) XXX_DiscardUnknown()
- func (m *GetNotRecoverAlertEventListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNotRecoverAlertEventListRequest) XXX_Merge(src proto.Message)
- func (m *GetNotRecoverAlertEventListRequest) XXX_Size() int
- func (m *GetNotRecoverAlertEventListRequest) XXX_Unmarshal(b []byte) error
- type GetNotRecoverAlertEventListResponse
- func (*GetNotRecoverAlertEventListResponse) Descriptor() ([]byte, []int)
- func (m *GetNotRecoverAlertEventListResponse) GetCode() int32
- func (m *GetNotRecoverAlertEventListResponse) GetData() []*monitor.AlertEvent
- func (m *GetNotRecoverAlertEventListResponse) GetMsg() string
- func (m *GetNotRecoverAlertEventListResponse) GetPage() int32
- func (m *GetNotRecoverAlertEventListResponse) GetPageSize() int32
- func (m *GetNotRecoverAlertEventListResponse) GetTotal() int32
- func (*GetNotRecoverAlertEventListResponse) ProtoMessage()
- func (m *GetNotRecoverAlertEventListResponse) Reset()
- func (m *GetNotRecoverAlertEventListResponse) String() string
- func (this *GetNotRecoverAlertEventListResponse) Validate() error
- func (m *GetNotRecoverAlertEventListResponse) XXX_DiscardUnknown()
- func (m *GetNotRecoverAlertEventListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNotRecoverAlertEventListResponse) XXX_Merge(src proto.Message)
- func (m *GetNotRecoverAlertEventListResponse) XXX_Size() int
- func (m *GetNotRecoverAlertEventListResponse) XXX_Unmarshal(b []byte) error
- type GetNotRecoverAlertEventListResponseWrapper
- func (*GetNotRecoverAlertEventListResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetNotRecoverAlertEventListResponseWrapper) GetCode() int32
- func (m *GetNotRecoverAlertEventListResponseWrapper) GetCodeExplain() string
- func (m *GetNotRecoverAlertEventListResponseWrapper) GetData() *GetNotRecoverAlertEventListResponse
- func (m *GetNotRecoverAlertEventListResponseWrapper) GetError() string
- func (*GetNotRecoverAlertEventListResponseWrapper) ProtoMessage()
- func (m *GetNotRecoverAlertEventListResponseWrapper) Reset()
- func (m *GetNotRecoverAlertEventListResponseWrapper) String() string
- func (this *GetNotRecoverAlertEventListResponseWrapper) Validate() error
- func (m *GetNotRecoverAlertEventListResponseWrapper) XXX_DiscardUnknown()
- func (m *GetNotRecoverAlertEventListResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNotRecoverAlertEventListResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetNotRecoverAlertEventListResponseWrapper) XXX_Size() int
- func (m *GetNotRecoverAlertEventListResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
func RegisterService(s giraffe_micro.Server, srv Service)
Types ¶
type Client ¶
type Client interface { GetAlertCount(ctx context.Context, in *GetAlertCountRequest) (*GetAlertCountResponse, error) GetAlertEventDetail(ctx context.Context, in *GetAlertEventDetailRequest) (*GetAlertEventDetailResponse, error) GetAlertEventList(ctx context.Context, in *GetAlertEventListRequest) (*GetAlertEventListResponse, error) GetNotRecoverAlertEventList(ctx context.Context, in *GetNotRecoverAlertEventListRequest) (*GetNotRecoverAlertEventListResponse, error) }
Client is the client API for alert service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClient ¶
func NewClient(c giraffe_micro.Client) Client
type GetAlertCountRequest ¶
type GetAlertCountRequest struct { // //开始时间 St int32 `protobuf:"varint,1,opt,name=st,proto3" json:"st" form:"st"` // //结束时间 Et int32 `protobuf:"varint,2,opt,name=et,proto3" json:"et" form:"et"` // //聚合粒度 AggregateInterval string `` /* 128-byte string literal not displayed */ // //查询的目标instanceIds(逗号分隔) InstanceId_In string `protobuf:"bytes,4,opt,name=instanceId__in,json=instanceIdIn,proto3" json:"instanceId__in" form:"instanceId__in"` // //查询的目标objectIds(逗号分隔) ObjectId_In string `protobuf:"bytes,5,opt,name=objectId__in,json=objectIdIn,proto3" json:"objectId__in" form:"objectId__in"` // //查询的目标instanceId InstanceId string `protobuf:"bytes,6,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //查询的目标objectId ObjectId string `protobuf:"bytes,7,opt,name=objectId,proto3" json:"objectId" form:"objectId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetAlertCount请求
func (*GetAlertCountRequest) Descriptor ¶
func (*GetAlertCountRequest) Descriptor() ([]byte, []int)
func (*GetAlertCountRequest) GetAggregateInterval ¶
func (m *GetAlertCountRequest) GetAggregateInterval() string
func (*GetAlertCountRequest) GetEt ¶
func (m *GetAlertCountRequest) GetEt() int32
func (*GetAlertCountRequest) GetInstanceId ¶
func (m *GetAlertCountRequest) GetInstanceId() string
func (*GetAlertCountRequest) GetInstanceId_In ¶
func (m *GetAlertCountRequest) GetInstanceId_In() string
func (*GetAlertCountRequest) GetObjectId ¶
func (m *GetAlertCountRequest) GetObjectId() string
func (*GetAlertCountRequest) GetObjectId_In ¶
func (m *GetAlertCountRequest) GetObjectId_In() string
func (*GetAlertCountRequest) GetSt ¶
func (m *GetAlertCountRequest) GetSt() int32
func (*GetAlertCountRequest) ProtoMessage ¶
func (*GetAlertCountRequest) ProtoMessage()
func (*GetAlertCountRequest) Reset ¶
func (m *GetAlertCountRequest) Reset()
func (*GetAlertCountRequest) String ¶
func (m *GetAlertCountRequest) String() string
func (*GetAlertCountRequest) Validate ¶
func (this *GetAlertCountRequest) Validate() error
func (*GetAlertCountRequest) XXX_DiscardUnknown ¶
func (m *GetAlertCountRequest) XXX_DiscardUnknown()
func (*GetAlertCountRequest) XXX_Marshal ¶
func (m *GetAlertCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAlertCountRequest) XXX_Merge ¶
func (m *GetAlertCountRequest) XXX_Merge(src proto.Message)
func (*GetAlertCountRequest) XXX_Size ¶
func (m *GetAlertCountRequest) XXX_Size() int
func (*GetAlertCountRequest) XXX_Unmarshal ¶
func (m *GetAlertCountRequest) XXX_Unmarshal(b []byte) error
type GetAlertCountResponse ¶
type GetAlertCountResponse struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回消息 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg" form:"msg"` // //统计结果列表 Data []*GetAlertCountResponse_Data `protobuf:"bytes,3,rep,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetAlertCount返回
func (*GetAlertCountResponse) Descriptor ¶
func (*GetAlertCountResponse) Descriptor() ([]byte, []int)
func (*GetAlertCountResponse) GetCode ¶
func (m *GetAlertCountResponse) GetCode() int32
func (*GetAlertCountResponse) GetData ¶
func (m *GetAlertCountResponse) GetData() []*GetAlertCountResponse_Data
func (*GetAlertCountResponse) GetMsg ¶
func (m *GetAlertCountResponse) GetMsg() string
func (*GetAlertCountResponse) ProtoMessage ¶
func (*GetAlertCountResponse) ProtoMessage()
func (*GetAlertCountResponse) Reset ¶
func (m *GetAlertCountResponse) Reset()
func (*GetAlertCountResponse) String ¶
func (m *GetAlertCountResponse) String() string
func (*GetAlertCountResponse) Validate ¶
func (this *GetAlertCountResponse) Validate() error
func (*GetAlertCountResponse) XXX_DiscardUnknown ¶
func (m *GetAlertCountResponse) XXX_DiscardUnknown()
func (*GetAlertCountResponse) XXX_Marshal ¶
func (m *GetAlertCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAlertCountResponse) XXX_Merge ¶
func (m *GetAlertCountResponse) XXX_Merge(src proto.Message)
func (*GetAlertCountResponse) XXX_Size ¶
func (m *GetAlertCountResponse) XXX_Size() int
func (*GetAlertCountResponse) XXX_Unmarshal ¶
func (m *GetAlertCountResponse) XXX_Unmarshal(b []byte) error
type GetAlertCountResponseWrapper ¶
type GetAlertCountResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *GetAlertCountResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetAlertCountApi返回
func (*GetAlertCountResponseWrapper) Descriptor ¶
func (*GetAlertCountResponseWrapper) Descriptor() ([]byte, []int)
func (*GetAlertCountResponseWrapper) GetCode ¶
func (m *GetAlertCountResponseWrapper) GetCode() int32
func (*GetAlertCountResponseWrapper) GetCodeExplain ¶
func (m *GetAlertCountResponseWrapper) GetCodeExplain() string
func (*GetAlertCountResponseWrapper) GetData ¶
func (m *GetAlertCountResponseWrapper) GetData() *GetAlertCountResponse
func (*GetAlertCountResponseWrapper) GetError ¶
func (m *GetAlertCountResponseWrapper) GetError() string
func (*GetAlertCountResponseWrapper) ProtoMessage ¶
func (*GetAlertCountResponseWrapper) ProtoMessage()
func (*GetAlertCountResponseWrapper) Reset ¶
func (m *GetAlertCountResponseWrapper) Reset()
func (*GetAlertCountResponseWrapper) String ¶
func (m *GetAlertCountResponseWrapper) String() string
func (*GetAlertCountResponseWrapper) Validate ¶
func (this *GetAlertCountResponseWrapper) Validate() error
func (*GetAlertCountResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetAlertCountResponseWrapper) XXX_DiscardUnknown()
func (*GetAlertCountResponseWrapper) XXX_Marshal ¶
func (m *GetAlertCountResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAlertCountResponseWrapper) XXX_Merge ¶
func (m *GetAlertCountResponseWrapper) XXX_Merge(src proto.Message)
func (*GetAlertCountResponseWrapper) XXX_Size ¶
func (m *GetAlertCountResponseWrapper) XXX_Size() int
func (*GetAlertCountResponseWrapper) XXX_Unmarshal ¶
func (m *GetAlertCountResponseWrapper) XXX_Unmarshal(b []byte) error
type GetAlertCountResponse_Data ¶
type GetAlertCountResponse_Data struct { // //聚合周期告警数 Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count" form:"count"` // //聚合周期告警ID列表 Ids []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids" form:"ids"` // //聚合周期时间戳 Time int32 `protobuf:"varint,3,opt,name=time,proto3" json:"time" form:"time"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAlertCountResponse_Data) Descriptor ¶
func (*GetAlertCountResponse_Data) Descriptor() ([]byte, []int)
func (*GetAlertCountResponse_Data) GetCount ¶
func (m *GetAlertCountResponse_Data) GetCount() int32
func (*GetAlertCountResponse_Data) GetIds ¶
func (m *GetAlertCountResponse_Data) GetIds() []string
func (*GetAlertCountResponse_Data) GetTime ¶
func (m *GetAlertCountResponse_Data) GetTime() int32
func (*GetAlertCountResponse_Data) ProtoMessage ¶
func (*GetAlertCountResponse_Data) ProtoMessage()
func (*GetAlertCountResponse_Data) Reset ¶
func (m *GetAlertCountResponse_Data) Reset()
func (*GetAlertCountResponse_Data) String ¶
func (m *GetAlertCountResponse_Data) String() string
func (*GetAlertCountResponse_Data) Validate ¶
func (this *GetAlertCountResponse_Data) Validate() error
func (*GetAlertCountResponse_Data) XXX_DiscardUnknown ¶
func (m *GetAlertCountResponse_Data) XXX_DiscardUnknown()
func (*GetAlertCountResponse_Data) XXX_Marshal ¶
func (m *GetAlertCountResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAlertCountResponse_Data) XXX_Merge ¶
func (m *GetAlertCountResponse_Data) XXX_Merge(src proto.Message)
func (*GetAlertCountResponse_Data) XXX_Size ¶
func (m *GetAlertCountResponse_Data) XXX_Size() int
func (*GetAlertCountResponse_Data) XXX_Unmarshal ¶
func (m *GetAlertCountResponse_Data) XXX_Unmarshal(b []byte) error
type GetAlertEventDetailRequest ¶
type GetAlertEventDetailRequest struct { // //告警 ID XId string `protobuf:"bytes,1,opt,name=_id,json=Id,proto3" json:"_id" form:"_id"` // //开始时间, e.g.: -1h 过去1小时, -1d 过去1天, -30m 过去30分钟, 1490967693 unix 时间戳 St string `protobuf:"bytes,2,opt,name=st,proto3" json:"st" form:"st"` // //结束时间, e.g.: -1h 过去1小时, -1d 过去1天, -30m 过去30分钟, 1490967693 unix 时间戳。默认为当前时间 Et string `protobuf:"bytes,3,opt,name=et,proto3" json:"et" form:"et"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetAlertEventDetail请求
func (*GetAlertEventDetailRequest) Descriptor ¶
func (*GetAlertEventDetailRequest) Descriptor() ([]byte, []int)
func (*GetAlertEventDetailRequest) GetEt ¶
func (m *GetAlertEventDetailRequest) GetEt() string
func (*GetAlertEventDetailRequest) GetSt ¶
func (m *GetAlertEventDetailRequest) GetSt() string
func (*GetAlertEventDetailRequest) GetXId ¶
func (m *GetAlertEventDetailRequest) GetXId() string
func (*GetAlertEventDetailRequest) ProtoMessage ¶
func (*GetAlertEventDetailRequest) ProtoMessage()
func (*GetAlertEventDetailRequest) Reset ¶
func (m *GetAlertEventDetailRequest) Reset()
func (*GetAlertEventDetailRequest) String ¶
func (m *GetAlertEventDetailRequest) String() string
func (*GetAlertEventDetailRequest) Validate ¶
func (this *GetAlertEventDetailRequest) Validate() error
func (*GetAlertEventDetailRequest) XXX_DiscardUnknown ¶
func (m *GetAlertEventDetailRequest) XXX_DiscardUnknown()
func (*GetAlertEventDetailRequest) XXX_Marshal ¶
func (m *GetAlertEventDetailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAlertEventDetailRequest) XXX_Merge ¶
func (m *GetAlertEventDetailRequest) XXX_Merge(src proto.Message)
func (*GetAlertEventDetailRequest) XXX_Size ¶
func (m *GetAlertEventDetailRequest) XXX_Size() int
func (*GetAlertEventDetailRequest) XXX_Unmarshal ¶
func (m *GetAlertEventDetailRequest) XXX_Unmarshal(b []byte) error
type GetAlertEventDetailResponse ¶
type GetAlertEventDetailResponse struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //消息 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg" form:"msg"` // //页码 Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page" form:"page"` // //分页大小 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //总数 Total int32 `protobuf:"varint,5,opt,name=total,proto3" json:"total" form:"total"` // //告警事件列表,返回的是一个列表,只有一个告警事件的列表当作详情接口的返回 Data []*monitor.AlertEvent `protobuf:"bytes,6,rep,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetAlertEventDetail返回
func (*GetAlertEventDetailResponse) Descriptor ¶
func (*GetAlertEventDetailResponse) Descriptor() ([]byte, []int)
func (*GetAlertEventDetailResponse) GetCode ¶
func (m *GetAlertEventDetailResponse) GetCode() int32
func (*GetAlertEventDetailResponse) GetData ¶
func (m *GetAlertEventDetailResponse) GetData() []*monitor.AlertEvent
func (*GetAlertEventDetailResponse) GetMsg ¶
func (m *GetAlertEventDetailResponse) GetMsg() string
func (*GetAlertEventDetailResponse) GetPage ¶
func (m *GetAlertEventDetailResponse) GetPage() int32
func (*GetAlertEventDetailResponse) GetPageSize ¶
func (m *GetAlertEventDetailResponse) GetPageSize() int32
func (*GetAlertEventDetailResponse) GetTotal ¶
func (m *GetAlertEventDetailResponse) GetTotal() int32
func (*GetAlertEventDetailResponse) ProtoMessage ¶
func (*GetAlertEventDetailResponse) ProtoMessage()
func (*GetAlertEventDetailResponse) Reset ¶
func (m *GetAlertEventDetailResponse) Reset()
func (*GetAlertEventDetailResponse) String ¶
func (m *GetAlertEventDetailResponse) String() string
func (*GetAlertEventDetailResponse) Validate ¶
func (this *GetAlertEventDetailResponse) Validate() error
func (*GetAlertEventDetailResponse) XXX_DiscardUnknown ¶
func (m *GetAlertEventDetailResponse) XXX_DiscardUnknown()
func (*GetAlertEventDetailResponse) XXX_Marshal ¶
func (m *GetAlertEventDetailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAlertEventDetailResponse) XXX_Merge ¶
func (m *GetAlertEventDetailResponse) XXX_Merge(src proto.Message)
func (*GetAlertEventDetailResponse) XXX_Size ¶
func (m *GetAlertEventDetailResponse) XXX_Size() int
func (*GetAlertEventDetailResponse) XXX_Unmarshal ¶
func (m *GetAlertEventDetailResponse) XXX_Unmarshal(b []byte) error
type GetAlertEventDetailResponseWrapper ¶
type GetAlertEventDetailResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *GetAlertEventDetailResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetAlertEventDetailApi返回
func (*GetAlertEventDetailResponseWrapper) Descriptor ¶
func (*GetAlertEventDetailResponseWrapper) Descriptor() ([]byte, []int)
func (*GetAlertEventDetailResponseWrapper) GetCode ¶
func (m *GetAlertEventDetailResponseWrapper) GetCode() int32
func (*GetAlertEventDetailResponseWrapper) GetCodeExplain ¶
func (m *GetAlertEventDetailResponseWrapper) GetCodeExplain() string
func (*GetAlertEventDetailResponseWrapper) GetData ¶
func (m *GetAlertEventDetailResponseWrapper) GetData() *GetAlertEventDetailResponse
func (*GetAlertEventDetailResponseWrapper) GetError ¶
func (m *GetAlertEventDetailResponseWrapper) GetError() string
func (*GetAlertEventDetailResponseWrapper) ProtoMessage ¶
func (*GetAlertEventDetailResponseWrapper) ProtoMessage()
func (*GetAlertEventDetailResponseWrapper) Reset ¶
func (m *GetAlertEventDetailResponseWrapper) Reset()
func (*GetAlertEventDetailResponseWrapper) String ¶
func (m *GetAlertEventDetailResponseWrapper) String() string
func (*GetAlertEventDetailResponseWrapper) Validate ¶
func (this *GetAlertEventDetailResponseWrapper) Validate() error
func (*GetAlertEventDetailResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetAlertEventDetailResponseWrapper) XXX_DiscardUnknown()
func (*GetAlertEventDetailResponseWrapper) XXX_Marshal ¶
func (m *GetAlertEventDetailResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAlertEventDetailResponseWrapper) XXX_Merge ¶
func (m *GetAlertEventDetailResponseWrapper) XXX_Merge(src proto.Message)
func (*GetAlertEventDetailResponseWrapper) XXX_Size ¶
func (m *GetAlertEventDetailResponseWrapper) XXX_Size() int
func (*GetAlertEventDetailResponseWrapper) XXX_Unmarshal ¶
func (m *GetAlertEventDetailResponseWrapper) XXX_Unmarshal(b []byte) error
type GetAlertEventListRequest ¶
type GetAlertEventListRequest struct { // //告警 ID XId string `protobuf:"bytes,1,opt,name=_id,json=Id,proto3" json:"_id" form:"_id"` // //选择返回的字段,以逗号分隔 XSelect__ string `protobuf:"bytes,2,opt,name=__select__,json=Select,proto3" json:"__select__" form:"__select__"` // //页码 Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page" form:"page"` // //分页大小 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //模型id ObjectId string `protobuf:"bytes,5,opt,name=objectId,proto3" json:"objectId" form:"objectId"` // //实例id InstanceId string `protobuf:"bytes,6,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //开始时间, e.g.: -1h 过去1小时, -1d 过去1天, -30m 过去30分钟, 1490967693 unix 时间戳 St string `protobuf:"bytes,7,opt,name=st,proto3" json:"st" form:"st"` // //结束时间, e.g.: -1h 过去1小时, -1d 过去1天, -30m 过去30分钟, 1490967693 unix 时间戳。默认为当前时间 Et string `protobuf:"bytes,8,opt,name=et,proto3" json:"et" form:"et"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetAlertEventList请求
func (*GetAlertEventListRequest) Descriptor ¶
func (*GetAlertEventListRequest) Descriptor() ([]byte, []int)
func (*GetAlertEventListRequest) GetEt ¶
func (m *GetAlertEventListRequest) GetEt() string
func (*GetAlertEventListRequest) GetInstanceId ¶
func (m *GetAlertEventListRequest) GetInstanceId() string
func (*GetAlertEventListRequest) GetObjectId ¶
func (m *GetAlertEventListRequest) GetObjectId() string
func (*GetAlertEventListRequest) GetPage ¶
func (m *GetAlertEventListRequest) GetPage() int32
func (*GetAlertEventListRequest) GetPageSize ¶
func (m *GetAlertEventListRequest) GetPageSize() int32
func (*GetAlertEventListRequest) GetSt ¶
func (m *GetAlertEventListRequest) GetSt() string
func (*GetAlertEventListRequest) GetXId ¶
func (m *GetAlertEventListRequest) GetXId() string
func (*GetAlertEventListRequest) GetXSelect__ ¶
func (m *GetAlertEventListRequest) GetXSelect__() string
func (*GetAlertEventListRequest) ProtoMessage ¶
func (*GetAlertEventListRequest) ProtoMessage()
func (*GetAlertEventListRequest) Reset ¶
func (m *GetAlertEventListRequest) Reset()
func (*GetAlertEventListRequest) String ¶
func (m *GetAlertEventListRequest) String() string
func (*GetAlertEventListRequest) Validate ¶
func (this *GetAlertEventListRequest) Validate() error
func (*GetAlertEventListRequest) XXX_DiscardUnknown ¶
func (m *GetAlertEventListRequest) XXX_DiscardUnknown()
func (*GetAlertEventListRequest) XXX_Marshal ¶
func (m *GetAlertEventListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAlertEventListRequest) XXX_Merge ¶
func (m *GetAlertEventListRequest) XXX_Merge(src proto.Message)
func (*GetAlertEventListRequest) XXX_Size ¶
func (m *GetAlertEventListRequest) XXX_Size() int
func (*GetAlertEventListRequest) XXX_Unmarshal ¶
func (m *GetAlertEventListRequest) XXX_Unmarshal(b []byte) error
type GetAlertEventListResponse ¶
type GetAlertEventListResponse struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //消息 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg" form:"msg"` // //页码 Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page" form:"page"` // //分页大小 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //总数 Total int32 `protobuf:"varint,5,opt,name=total,proto3" json:"total" form:"total"` // //告警事件列表 Data []*monitor.AlertEvent `protobuf:"bytes,6,rep,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetAlertEventList返回
func (*GetAlertEventListResponse) Descriptor ¶
func (*GetAlertEventListResponse) Descriptor() ([]byte, []int)
func (*GetAlertEventListResponse) GetCode ¶
func (m *GetAlertEventListResponse) GetCode() int32
func (*GetAlertEventListResponse) GetData ¶
func (m *GetAlertEventListResponse) GetData() []*monitor.AlertEvent
func (*GetAlertEventListResponse) GetMsg ¶
func (m *GetAlertEventListResponse) GetMsg() string
func (*GetAlertEventListResponse) GetPage ¶
func (m *GetAlertEventListResponse) GetPage() int32
func (*GetAlertEventListResponse) GetPageSize ¶
func (m *GetAlertEventListResponse) GetPageSize() int32
func (*GetAlertEventListResponse) GetTotal ¶
func (m *GetAlertEventListResponse) GetTotal() int32
func (*GetAlertEventListResponse) ProtoMessage ¶
func (*GetAlertEventListResponse) ProtoMessage()
func (*GetAlertEventListResponse) Reset ¶
func (m *GetAlertEventListResponse) Reset()
func (*GetAlertEventListResponse) String ¶
func (m *GetAlertEventListResponse) String() string
func (*GetAlertEventListResponse) Validate ¶
func (this *GetAlertEventListResponse) Validate() error
func (*GetAlertEventListResponse) XXX_DiscardUnknown ¶
func (m *GetAlertEventListResponse) XXX_DiscardUnknown()
func (*GetAlertEventListResponse) XXX_Marshal ¶
func (m *GetAlertEventListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAlertEventListResponse) XXX_Merge ¶
func (m *GetAlertEventListResponse) XXX_Merge(src proto.Message)
func (*GetAlertEventListResponse) XXX_Size ¶
func (m *GetAlertEventListResponse) XXX_Size() int
func (*GetAlertEventListResponse) XXX_Unmarshal ¶
func (m *GetAlertEventListResponse) XXX_Unmarshal(b []byte) error
type GetAlertEventListResponseWrapper ¶
type GetAlertEventListResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *GetAlertEventListResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetAlertEventListApi返回
func (*GetAlertEventListResponseWrapper) Descriptor ¶
func (*GetAlertEventListResponseWrapper) Descriptor() ([]byte, []int)
func (*GetAlertEventListResponseWrapper) GetCode ¶
func (m *GetAlertEventListResponseWrapper) GetCode() int32
func (*GetAlertEventListResponseWrapper) GetCodeExplain ¶
func (m *GetAlertEventListResponseWrapper) GetCodeExplain() string
func (*GetAlertEventListResponseWrapper) GetData ¶
func (m *GetAlertEventListResponseWrapper) GetData() *GetAlertEventListResponse
func (*GetAlertEventListResponseWrapper) GetError ¶
func (m *GetAlertEventListResponseWrapper) GetError() string
func (*GetAlertEventListResponseWrapper) ProtoMessage ¶
func (*GetAlertEventListResponseWrapper) ProtoMessage()
func (*GetAlertEventListResponseWrapper) Reset ¶
func (m *GetAlertEventListResponseWrapper) Reset()
func (*GetAlertEventListResponseWrapper) String ¶
func (m *GetAlertEventListResponseWrapper) String() string
func (*GetAlertEventListResponseWrapper) Validate ¶
func (this *GetAlertEventListResponseWrapper) Validate() error
func (*GetAlertEventListResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetAlertEventListResponseWrapper) XXX_DiscardUnknown()
func (*GetAlertEventListResponseWrapper) XXX_Marshal ¶
func (m *GetAlertEventListResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAlertEventListResponseWrapper) XXX_Merge ¶
func (m *GetAlertEventListResponseWrapper) XXX_Merge(src proto.Message)
func (*GetAlertEventListResponseWrapper) XXX_Size ¶
func (m *GetAlertEventListResponseWrapper) XXX_Size() int
func (*GetAlertEventListResponseWrapper) XXX_Unmarshal ¶
func (m *GetAlertEventListResponseWrapper) XXX_Unmarshal(b []byte) error
type GetNotRecoverAlertEventListRequest ¶
type GetNotRecoverAlertEventListRequest struct { // //开始时间, e.g.: -1h 过去1小时, -1d 过去1天, -30m 过去30分钟, 1490967693 unix 时间戳 St string `protobuf:"bytes,1,opt,name=st,proto3" json:"st" form:"st"` // //结束时间, e.g.: -1h 过去1小时, -1d 过去1天, -30m 过去30分钟, 1490967693 unix 时间戳。默认为当前时间 Et string `protobuf:"bytes,2,opt,name=et,proto3" json:"et" form:"et"` // //搜索关键字 KeyWord string `protobuf:"bytes,3,opt,name=key_word,json=keyWord,proto3" json:"key_word" form:"key_word"` // //告警类型 AlertType string `protobuf:"bytes,4,opt,name=alert_type,json=alertType,proto3" json:"alert_type" form:"alert_type"` // //告警子类型 AlertSubType string `protobuf:"bytes,5,opt,name=alert_sub_type,json=alertSubType,proto3" json:"alert_sub_type" form:"alert_sub_type"` // //告警项 AlertItem string `protobuf:"bytes,6,opt,name=alert_item,json=alertItem,proto3" json:"alert_item" form:"alert_item"` // //模型id ObjectId string `protobuf:"bytes,7,opt,name=objectId,proto3" json:"objectId" form:"objectId"` // //实例id InstanceId string `protobuf:"bytes,8,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //页码 Page int32 `protobuf:"varint,9,opt,name=page,proto3" json:"page" form:"page"` // //页大小, [1, 300] PageSize int32 `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //排序 XSortby__ string `protobuf:"bytes,11,opt,name=__sortby__,json=Sortby,proto3" json:"__sortby__" form:"__sortby__"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetNotRecoverAlertEventList请求
func (*GetNotRecoverAlertEventListRequest) Descriptor ¶
func (*GetNotRecoverAlertEventListRequest) Descriptor() ([]byte, []int)
func (*GetNotRecoverAlertEventListRequest) GetAlertItem ¶
func (m *GetNotRecoverAlertEventListRequest) GetAlertItem() string
func (*GetNotRecoverAlertEventListRequest) GetAlertSubType ¶
func (m *GetNotRecoverAlertEventListRequest) GetAlertSubType() string
func (*GetNotRecoverAlertEventListRequest) GetAlertType ¶
func (m *GetNotRecoverAlertEventListRequest) GetAlertType() string
func (*GetNotRecoverAlertEventListRequest) GetEt ¶
func (m *GetNotRecoverAlertEventListRequest) GetEt() string
func (*GetNotRecoverAlertEventListRequest) GetInstanceId ¶
func (m *GetNotRecoverAlertEventListRequest) GetInstanceId() string
func (*GetNotRecoverAlertEventListRequest) GetKeyWord ¶
func (m *GetNotRecoverAlertEventListRequest) GetKeyWord() string
func (*GetNotRecoverAlertEventListRequest) GetObjectId ¶
func (m *GetNotRecoverAlertEventListRequest) GetObjectId() string
func (*GetNotRecoverAlertEventListRequest) GetPage ¶
func (m *GetNotRecoverAlertEventListRequest) GetPage() int32
func (*GetNotRecoverAlertEventListRequest) GetPageSize ¶
func (m *GetNotRecoverAlertEventListRequest) GetPageSize() int32
func (*GetNotRecoverAlertEventListRequest) GetSt ¶
func (m *GetNotRecoverAlertEventListRequest) GetSt() string
func (*GetNotRecoverAlertEventListRequest) GetXSortby__ ¶
func (m *GetNotRecoverAlertEventListRequest) GetXSortby__() string
func (*GetNotRecoverAlertEventListRequest) ProtoMessage ¶
func (*GetNotRecoverAlertEventListRequest) ProtoMessage()
func (*GetNotRecoverAlertEventListRequest) Reset ¶
func (m *GetNotRecoverAlertEventListRequest) Reset()
func (*GetNotRecoverAlertEventListRequest) String ¶
func (m *GetNotRecoverAlertEventListRequest) String() string
func (*GetNotRecoverAlertEventListRequest) Validate ¶
func (this *GetNotRecoverAlertEventListRequest) Validate() error
func (*GetNotRecoverAlertEventListRequest) XXX_DiscardUnknown ¶
func (m *GetNotRecoverAlertEventListRequest) XXX_DiscardUnknown()
func (*GetNotRecoverAlertEventListRequest) XXX_Marshal ¶
func (m *GetNotRecoverAlertEventListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNotRecoverAlertEventListRequest) XXX_Merge ¶
func (m *GetNotRecoverAlertEventListRequest) XXX_Merge(src proto.Message)
func (*GetNotRecoverAlertEventListRequest) XXX_Size ¶
func (m *GetNotRecoverAlertEventListRequest) XXX_Size() int
func (*GetNotRecoverAlertEventListRequest) XXX_Unmarshal ¶
func (m *GetNotRecoverAlertEventListRequest) XXX_Unmarshal(b []byte) error
type GetNotRecoverAlertEventListResponse ¶
type GetNotRecoverAlertEventListResponse struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //消息 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg" form:"msg"` // //页码 Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page" form:"page"` // //分页大小 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //总数 Total int32 `protobuf:"varint,5,opt,name=total,proto3" json:"total" form:"total"` // //告警事件列表 Data []*monitor.AlertEvent `protobuf:"bytes,6,rep,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetNotRecoverAlertEventList返回
func (*GetNotRecoverAlertEventListResponse) Descriptor ¶
func (*GetNotRecoverAlertEventListResponse) Descriptor() ([]byte, []int)
func (*GetNotRecoverAlertEventListResponse) GetCode ¶
func (m *GetNotRecoverAlertEventListResponse) GetCode() int32
func (*GetNotRecoverAlertEventListResponse) GetData ¶
func (m *GetNotRecoverAlertEventListResponse) GetData() []*monitor.AlertEvent
func (*GetNotRecoverAlertEventListResponse) GetMsg ¶
func (m *GetNotRecoverAlertEventListResponse) GetMsg() string
func (*GetNotRecoverAlertEventListResponse) GetPage ¶
func (m *GetNotRecoverAlertEventListResponse) GetPage() int32
func (*GetNotRecoverAlertEventListResponse) GetPageSize ¶
func (m *GetNotRecoverAlertEventListResponse) GetPageSize() int32
func (*GetNotRecoverAlertEventListResponse) GetTotal ¶
func (m *GetNotRecoverAlertEventListResponse) GetTotal() int32
func (*GetNotRecoverAlertEventListResponse) ProtoMessage ¶
func (*GetNotRecoverAlertEventListResponse) ProtoMessage()
func (*GetNotRecoverAlertEventListResponse) Reset ¶
func (m *GetNotRecoverAlertEventListResponse) Reset()
func (*GetNotRecoverAlertEventListResponse) String ¶
func (m *GetNotRecoverAlertEventListResponse) String() string
func (*GetNotRecoverAlertEventListResponse) Validate ¶
func (this *GetNotRecoverAlertEventListResponse) Validate() error
func (*GetNotRecoverAlertEventListResponse) XXX_DiscardUnknown ¶
func (m *GetNotRecoverAlertEventListResponse) XXX_DiscardUnknown()
func (*GetNotRecoverAlertEventListResponse) XXX_Marshal ¶
func (m *GetNotRecoverAlertEventListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNotRecoverAlertEventListResponse) XXX_Merge ¶
func (m *GetNotRecoverAlertEventListResponse) XXX_Merge(src proto.Message)
func (*GetNotRecoverAlertEventListResponse) XXX_Size ¶
func (m *GetNotRecoverAlertEventListResponse) XXX_Size() int
func (*GetNotRecoverAlertEventListResponse) XXX_Unmarshal ¶
func (m *GetNotRecoverAlertEventListResponse) XXX_Unmarshal(b []byte) error
type GetNotRecoverAlertEventListResponseWrapper ¶
type GetNotRecoverAlertEventListResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *GetNotRecoverAlertEventListResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetNotRecoverAlertEventListApi返回
func (*GetNotRecoverAlertEventListResponseWrapper) Descriptor ¶
func (*GetNotRecoverAlertEventListResponseWrapper) Descriptor() ([]byte, []int)
func (*GetNotRecoverAlertEventListResponseWrapper) GetCode ¶
func (m *GetNotRecoverAlertEventListResponseWrapper) GetCode() int32
func (*GetNotRecoverAlertEventListResponseWrapper) GetCodeExplain ¶
func (m *GetNotRecoverAlertEventListResponseWrapper) GetCodeExplain() string
func (*GetNotRecoverAlertEventListResponseWrapper) GetData ¶
func (m *GetNotRecoverAlertEventListResponseWrapper) GetData() *GetNotRecoverAlertEventListResponse
func (*GetNotRecoverAlertEventListResponseWrapper) GetError ¶
func (m *GetNotRecoverAlertEventListResponseWrapper) GetError() string
func (*GetNotRecoverAlertEventListResponseWrapper) ProtoMessage ¶
func (*GetNotRecoverAlertEventListResponseWrapper) ProtoMessage()
func (*GetNotRecoverAlertEventListResponseWrapper) Reset ¶
func (m *GetNotRecoverAlertEventListResponseWrapper) Reset()
func (*GetNotRecoverAlertEventListResponseWrapper) String ¶
func (m *GetNotRecoverAlertEventListResponseWrapper) String() string
func (*GetNotRecoverAlertEventListResponseWrapper) Validate ¶
func (this *GetNotRecoverAlertEventListResponseWrapper) Validate() error
func (*GetNotRecoverAlertEventListResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetNotRecoverAlertEventListResponseWrapper) XXX_DiscardUnknown()
func (*GetNotRecoverAlertEventListResponseWrapper) XXX_Marshal ¶
func (m *GetNotRecoverAlertEventListResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNotRecoverAlertEventListResponseWrapper) XXX_Merge ¶
func (m *GetNotRecoverAlertEventListResponseWrapper) XXX_Merge(src proto.Message)
func (*GetNotRecoverAlertEventListResponseWrapper) XXX_Size ¶
func (m *GetNotRecoverAlertEventListResponseWrapper) XXX_Size() int
func (*GetNotRecoverAlertEventListResponseWrapper) XXX_Unmarshal ¶
func (m *GetNotRecoverAlertEventListResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { GetAlertCount(context.Context, *GetAlertCountRequest) (*GetAlertCountResponse, error) GetAlertEventDetail(context.Context, *GetAlertEventDetailRequest) (*GetAlertEventDetailResponse, error) GetAlertEventList(context.Context, *GetAlertEventListRequest) (*GetAlertEventListResponse, error) GetNotRecoverAlertEventList(context.Context, *GetNotRecoverAlertEventListRequest) (*GetNotRecoverAlertEventListResponse, error) }
Service is the server API for alert service.
Source Files ¶
- get_alert_count.pb.go
- get_alert_count.validator.pb.go
- get_alert_event_detail.pb.go
- get_alert_event_detail.validator.pb.go
- get_alert_event_list.pb.go
- get_alert_event_list.validator.pb.go
- get_not_recover_alert_event_list.pb.go
- get_not_recover_alert_event_list.validator.pb.go
- giraffe_service.giraffe.pb.go
Click to show internal directories.
Click to hide internal directories.