collector_history

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: 10 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

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 (*GetCollectorHistoryStatusRequest) GetConfigId

func (m *GetCollectorHistoryStatusRequest) GetConfigId() string

func (*GetCollectorHistoryStatusRequest) GetEt

func (*GetCollectorHistoryStatusRequest) GetFields

func (*GetCollectorHistoryStatusRequest) GetIpRegEx

func (m *GetCollectorHistoryStatusRequest) GetIpRegEx() string

func (*GetCollectorHistoryStatusRequest) GetPage

func (*GetCollectorHistoryStatusRequest) GetPageSize

func (m *GetCollectorHistoryStatusRequest) GetPageSize() int32

func (*GetCollectorHistoryStatusRequest) GetSt

func (*GetCollectorHistoryStatusRequest) ProtoMessage

func (*GetCollectorHistoryStatusRequest) ProtoMessage()

func (*GetCollectorHistoryStatusRequest) Reset

func (*GetCollectorHistoryStatusRequest) 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 (*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 (*GetCollectorHistoryStatusResponse) GetPage

func (*GetCollectorHistoryStatusResponse) GetPageSize

func (m *GetCollectorHistoryStatusResponse) GetPageSize() int32

func (*GetCollectorHistoryStatusResponse) GetTotal

func (*GetCollectorHistoryStatusResponse) ProtoMessage

func (*GetCollectorHistoryStatusResponse) ProtoMessage()

func (*GetCollectorHistoryStatusResponse) Reset

func (*GetCollectorHistoryStatusResponse) 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 (*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 (*GetCollectorHistoryStatusResponseWrapper) GetCodeExplain

func (*GetCollectorHistoryStatusResponseWrapper) GetData

func (*GetCollectorHistoryStatusResponseWrapper) GetError

func (*GetCollectorHistoryStatusResponseWrapper) ProtoMessage

func (*GetCollectorHistoryStatusResponseWrapper) Reset

func (*GetCollectorHistoryStatusResponseWrapper) String

func (*GetCollectorHistoryStatusResponseWrapper) Validate

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

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.

Jump to

Keyboard shortcuts

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