alert

package
v0.0.0-...-b63aa1a Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(s giraffe_micro.Server, srv Service)

Types

type Client

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 (*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 (*GetAlertCountResponseWrapper) GetError

func (m *GetAlertCountResponseWrapper) GetError() string

func (*GetAlertCountResponseWrapper) ProtoMessage

func (*GetAlertCountResponseWrapper) ProtoMessage()

func (*GetAlertCountResponseWrapper) Reset

func (m *GetAlertCountResponseWrapper) Reset()

func (*GetAlertCountResponseWrapper) 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 (*GetAlertEventDetailRequest) GetSt

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 (*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 (*GetAlertEventDetailResponseWrapper) GetCodeExplain

func (m *GetAlertEventDetailResponseWrapper) GetCodeExplain() string

func (*GetAlertEventDetailResponseWrapper) GetData

func (*GetAlertEventDetailResponseWrapper) GetError

func (*GetAlertEventDetailResponseWrapper) ProtoMessage

func (*GetAlertEventDetailResponseWrapper) ProtoMessage()

func (*GetAlertEventDetailResponseWrapper) Reset

func (*GetAlertEventDetailResponseWrapper) 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 (*GetAlertEventDetailResponseWrapper) XXX_Size

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 (*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 (*GetAlertEventListResponseWrapper) GetCodeExplain

func (m *GetAlertEventListResponseWrapper) GetCodeExplain() string

func (*GetAlertEventListResponseWrapper) GetData

func (*GetAlertEventListResponseWrapper) GetError

func (*GetAlertEventListResponseWrapper) ProtoMessage

func (*GetAlertEventListResponseWrapper) ProtoMessage()

func (*GetAlertEventListResponseWrapper) Reset

func (*GetAlertEventListResponseWrapper) 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 (*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 (*GetNotRecoverAlertEventListRequest) GetInstanceId

func (m *GetNotRecoverAlertEventListRequest) GetInstanceId() string

func (*GetNotRecoverAlertEventListRequest) GetKeyWord

func (*GetNotRecoverAlertEventListRequest) GetObjectId

func (m *GetNotRecoverAlertEventListRequest) GetObjectId() string

func (*GetNotRecoverAlertEventListRequest) GetPage

func (*GetNotRecoverAlertEventListRequest) GetPageSize

func (m *GetNotRecoverAlertEventListRequest) GetPageSize() int32

func (*GetNotRecoverAlertEventListRequest) GetSt

func (*GetNotRecoverAlertEventListRequest) GetXSortby__

func (m *GetNotRecoverAlertEventListRequest) GetXSortby__() string

func (*GetNotRecoverAlertEventListRequest) ProtoMessage

func (*GetNotRecoverAlertEventListRequest) ProtoMessage()

func (*GetNotRecoverAlertEventListRequest) Reset

func (*GetNotRecoverAlertEventListRequest) 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 (*GetNotRecoverAlertEventListRequest) XXX_Size

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 (*GetNotRecoverAlertEventListResponse) GetData

func (*GetNotRecoverAlertEventListResponse) GetMsg

func (*GetNotRecoverAlertEventListResponse) GetPage

func (*GetNotRecoverAlertEventListResponse) GetPageSize

func (m *GetNotRecoverAlertEventListResponse) GetPageSize() int32

func (*GetNotRecoverAlertEventListResponse) GetTotal

func (*GetNotRecoverAlertEventListResponse) ProtoMessage

func (*GetNotRecoverAlertEventListResponse) ProtoMessage()

func (*GetNotRecoverAlertEventListResponse) Reset

func (*GetNotRecoverAlertEventListResponse) 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 (*GetNotRecoverAlertEventListResponse) XXX_Size

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) GetCode

func (*GetNotRecoverAlertEventListResponseWrapper) GetCodeExplain

func (*GetNotRecoverAlertEventListResponseWrapper) GetData

func (*GetNotRecoverAlertEventListResponseWrapper) GetError

func (*GetNotRecoverAlertEventListResponseWrapper) ProtoMessage

func (*GetNotRecoverAlertEventListResponseWrapper) Reset

func (*GetNotRecoverAlertEventListResponseWrapper) String

func (*GetNotRecoverAlertEventListResponseWrapper) Validate

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 (*GetNotRecoverAlertEventListResponseWrapper) XXX_Size

func (*GetNotRecoverAlertEventListResponseWrapper) XXX_Unmarshal

type Service

Service is the server API for alert service.

Jump to

Keyboard shortcuts

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