Documentation ¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type GetCollectorHistoryStatusRequest
- func (*GetCollectorHistoryStatusRequest) Descriptor() ([]byte, []int)
- func (m *GetCollectorHistoryStatusRequest) GetCode() string
- func (m *GetCollectorHistoryStatusRequest) GetConfigId() string
- func (m *GetCollectorHistoryStatusRequest) GetEt() int32
- func (m *GetCollectorHistoryStatusRequest) GetFields() string
- func (m *GetCollectorHistoryStatusRequest) GetIpRegEx() string
- func (m *GetCollectorHistoryStatusRequest) GetPage() int32
- func (m *GetCollectorHistoryStatusRequest) GetPageSize() int32
- func (m *GetCollectorHistoryStatusRequest) GetSt() int32
- func (*GetCollectorHistoryStatusRequest) ProtoMessage()
- func (m *GetCollectorHistoryStatusRequest) Reset()
- func (m *GetCollectorHistoryStatusRequest) String() string
- func (this *GetCollectorHistoryStatusRequest) Validate() error
- func (m *GetCollectorHistoryStatusRequest) XXX_DiscardUnknown()
- func (m *GetCollectorHistoryStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCollectorHistoryStatusRequest) XXX_Merge(src proto.Message)
- func (m *GetCollectorHistoryStatusRequest) XXX_Size() int
- func (m *GetCollectorHistoryStatusRequest) XXX_Unmarshal(b []byte) error
- type GetCollectorHistoryStatusResponse
- func (*GetCollectorHistoryStatusResponse) Descriptor() ([]byte, []int)
- func (m *GetCollectorHistoryStatusResponse) GetList() []*resource_manage.CollectorHistory
- func (m *GetCollectorHistoryStatusResponse) GetPage() int32
- func (m *GetCollectorHistoryStatusResponse) GetPageSize() int32
- func (m *GetCollectorHistoryStatusResponse) GetTotal() int32
- func (*GetCollectorHistoryStatusResponse) ProtoMessage()
- func (m *GetCollectorHistoryStatusResponse) Reset()
- func (m *GetCollectorHistoryStatusResponse) String() string
- func (this *GetCollectorHistoryStatusResponse) Validate() error
- func (m *GetCollectorHistoryStatusResponse) XXX_DiscardUnknown()
- func (m *GetCollectorHistoryStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCollectorHistoryStatusResponse) XXX_Merge(src proto.Message)
- func (m *GetCollectorHistoryStatusResponse) XXX_Size() int
- func (m *GetCollectorHistoryStatusResponse) XXX_Unmarshal(b []byte) error
- type GetCollectorHistoryStatusResponseWrapper
- func (*GetCollectorHistoryStatusResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetCollectorHistoryStatusResponseWrapper) GetCode() int32
- func (m *GetCollectorHistoryStatusResponseWrapper) GetCodeExplain() string
- func (m *GetCollectorHistoryStatusResponseWrapper) GetData() *GetCollectorHistoryStatusResponse
- func (m *GetCollectorHistoryStatusResponseWrapper) GetError() string
- func (*GetCollectorHistoryStatusResponseWrapper) ProtoMessage()
- func (m *GetCollectorHistoryStatusResponseWrapper) Reset()
- func (m *GetCollectorHistoryStatusResponseWrapper) String() string
- func (this *GetCollectorHistoryStatusResponseWrapper) Validate() error
- func (m *GetCollectorHistoryStatusResponseWrapper) XXX_DiscardUnknown()
- func (m *GetCollectorHistoryStatusResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCollectorHistoryStatusResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetCollectorHistoryStatusResponseWrapper) XXX_Size() int
- func (m *GetCollectorHistoryStatusResponseWrapper) 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 {
GetCollectorHistoryStatus(ctx context.Context, in *GetCollectorHistoryStatusRequest) (*GetCollectorHistoryStatusResponse, error)
}
Client is the client API for collector_history 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 GetCollectorHistoryStatusRequest ¶
type GetCollectorHistoryStatusRequest struct { // //任务ID ConfigId string `protobuf:"bytes,1,opt,name=configId,proto3" json:"configId" form:"configId"` // //页数 Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page" form:"page"` // //页记录数 PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize" form:"pageSize"` // //限定显示字段 Fields string `protobuf:"bytes,4,opt,name=fields,proto3" json:"fields" form:"fields"` // //查询的状态类型 Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code" form:"code"` // //IP搜索关键字 IpRegEx string `protobuf:"bytes,6,opt,name=ipRegEx,proto3" json:"ipRegEx" form:"ipRegEx"` // //起始时间戳 St int32 `protobuf:"varint,7,opt,name=st,proto3" json:"st" form:"st"` // //终止时间戳 Et int32 `protobuf:"varint,8,opt,name=et,proto3" json:"et" form:"et"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetCollectorHistoryStatus请求
func (*GetCollectorHistoryStatusRequest) Descriptor ¶
func (*GetCollectorHistoryStatusRequest) Descriptor() ([]byte, []int)
func (*GetCollectorHistoryStatusRequest) GetCode ¶
func (m *GetCollectorHistoryStatusRequest) GetCode() string
func (*GetCollectorHistoryStatusRequest) GetConfigId ¶
func (m *GetCollectorHistoryStatusRequest) GetConfigId() string
func (*GetCollectorHistoryStatusRequest) GetEt ¶
func (m *GetCollectorHistoryStatusRequest) GetEt() int32
func (*GetCollectorHistoryStatusRequest) GetFields ¶
func (m *GetCollectorHistoryStatusRequest) GetFields() string
func (*GetCollectorHistoryStatusRequest) GetIpRegEx ¶
func (m *GetCollectorHistoryStatusRequest) GetIpRegEx() string
func (*GetCollectorHistoryStatusRequest) GetPage ¶
func (m *GetCollectorHistoryStatusRequest) GetPage() int32
func (*GetCollectorHistoryStatusRequest) GetPageSize ¶
func (m *GetCollectorHistoryStatusRequest) GetPageSize() int32
func (*GetCollectorHistoryStatusRequest) GetSt ¶
func (m *GetCollectorHistoryStatusRequest) GetSt() int32
func (*GetCollectorHistoryStatusRequest) ProtoMessage ¶
func (*GetCollectorHistoryStatusRequest) ProtoMessage()
func (*GetCollectorHistoryStatusRequest) Reset ¶
func (m *GetCollectorHistoryStatusRequest) Reset()
func (*GetCollectorHistoryStatusRequest) String ¶
func (m *GetCollectorHistoryStatusRequest) String() string
func (*GetCollectorHistoryStatusRequest) Validate ¶
func (this *GetCollectorHistoryStatusRequest) Validate() error
func (*GetCollectorHistoryStatusRequest) XXX_DiscardUnknown ¶
func (m *GetCollectorHistoryStatusRequest) XXX_DiscardUnknown()
func (*GetCollectorHistoryStatusRequest) XXX_Marshal ¶
func (m *GetCollectorHistoryStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCollectorHistoryStatusRequest) XXX_Merge ¶
func (m *GetCollectorHistoryStatusRequest) XXX_Merge(src proto.Message)
func (*GetCollectorHistoryStatusRequest) XXX_Size ¶
func (m *GetCollectorHistoryStatusRequest) XXX_Size() int
func (*GetCollectorHistoryStatusRequest) XXX_Unmarshal ¶
func (m *GetCollectorHistoryStatusRequest) XXX_Unmarshal(b []byte) error
type GetCollectorHistoryStatusResponse ¶
type GetCollectorHistoryStatusResponse struct { // //页数 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //页大小 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //总数 Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"` // //数据列表 List []*resource_manage.CollectorHistory `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetCollectorHistoryStatus返回
func (*GetCollectorHistoryStatusResponse) Descriptor ¶
func (*GetCollectorHistoryStatusResponse) Descriptor() ([]byte, []int)
func (*GetCollectorHistoryStatusResponse) GetList ¶
func (m *GetCollectorHistoryStatusResponse) GetList() []*resource_manage.CollectorHistory
func (*GetCollectorHistoryStatusResponse) GetPage ¶
func (m *GetCollectorHistoryStatusResponse) GetPage() int32
func (*GetCollectorHistoryStatusResponse) GetPageSize ¶
func (m *GetCollectorHistoryStatusResponse) GetPageSize() int32
func (*GetCollectorHistoryStatusResponse) GetTotal ¶
func (m *GetCollectorHistoryStatusResponse) GetTotal() int32
func (*GetCollectorHistoryStatusResponse) ProtoMessage ¶
func (*GetCollectorHistoryStatusResponse) ProtoMessage()
func (*GetCollectorHistoryStatusResponse) Reset ¶
func (m *GetCollectorHistoryStatusResponse) Reset()
func (*GetCollectorHistoryStatusResponse) String ¶
func (m *GetCollectorHistoryStatusResponse) String() string
func (*GetCollectorHistoryStatusResponse) Validate ¶
func (this *GetCollectorHistoryStatusResponse) Validate() error
func (*GetCollectorHistoryStatusResponse) XXX_DiscardUnknown ¶
func (m *GetCollectorHistoryStatusResponse) XXX_DiscardUnknown()
func (*GetCollectorHistoryStatusResponse) XXX_Marshal ¶
func (m *GetCollectorHistoryStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCollectorHistoryStatusResponse) XXX_Merge ¶
func (m *GetCollectorHistoryStatusResponse) XXX_Merge(src proto.Message)
func (*GetCollectorHistoryStatusResponse) XXX_Size ¶
func (m *GetCollectorHistoryStatusResponse) XXX_Size() int
func (*GetCollectorHistoryStatusResponse) XXX_Unmarshal ¶
func (m *GetCollectorHistoryStatusResponse) XXX_Unmarshal(b []byte) error
type GetCollectorHistoryStatusResponseWrapper ¶
type GetCollectorHistoryStatusResponseWrapper 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 *GetCollectorHistoryStatusResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetCollectorHistoryStatusApi返回
func (*GetCollectorHistoryStatusResponseWrapper) Descriptor ¶
func (*GetCollectorHistoryStatusResponseWrapper) Descriptor() ([]byte, []int)
func (*GetCollectorHistoryStatusResponseWrapper) GetCode ¶
func (m *GetCollectorHistoryStatusResponseWrapper) GetCode() int32
func (*GetCollectorHistoryStatusResponseWrapper) GetCodeExplain ¶
func (m *GetCollectorHistoryStatusResponseWrapper) GetCodeExplain() string
func (*GetCollectorHistoryStatusResponseWrapper) GetData ¶
func (m *GetCollectorHistoryStatusResponseWrapper) GetData() *GetCollectorHistoryStatusResponse
func (*GetCollectorHistoryStatusResponseWrapper) GetError ¶
func (m *GetCollectorHistoryStatusResponseWrapper) GetError() string
func (*GetCollectorHistoryStatusResponseWrapper) ProtoMessage ¶
func (*GetCollectorHistoryStatusResponseWrapper) ProtoMessage()
func (*GetCollectorHistoryStatusResponseWrapper) Reset ¶
func (m *GetCollectorHistoryStatusResponseWrapper) Reset()
func (*GetCollectorHistoryStatusResponseWrapper) String ¶
func (m *GetCollectorHistoryStatusResponseWrapper) String() string
func (*GetCollectorHistoryStatusResponseWrapper) Validate ¶
func (this *GetCollectorHistoryStatusResponseWrapper) Validate() error
func (*GetCollectorHistoryStatusResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetCollectorHistoryStatusResponseWrapper) XXX_DiscardUnknown()
func (*GetCollectorHistoryStatusResponseWrapper) XXX_Marshal ¶
func (m *GetCollectorHistoryStatusResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCollectorHistoryStatusResponseWrapper) XXX_Merge ¶
func (m *GetCollectorHistoryStatusResponseWrapper) XXX_Merge(src proto.Message)
func (*GetCollectorHistoryStatusResponseWrapper) XXX_Size ¶
func (m *GetCollectorHistoryStatusResponseWrapper) XXX_Size() int
func (*GetCollectorHistoryStatusResponseWrapper) XXX_Unmarshal ¶
func (m *GetCollectorHistoryStatusResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface {
GetCollectorHistoryStatus(context.Context, *GetCollectorHistoryStatusRequest) (*GetCollectorHistoryStatusResponse, error)
}
Service is the server API for collector_history service.
Click to show internal directories.
Click to hide internal directories.