Documentation ¶
Index ¶
- Variables
- func RegisterFrontendForQuerierServer(s *grpc.Server, srv FrontendForQuerierServer)
- type FrontendForQuerierClient
- type FrontendForQuerierServer
- type QueryResultRequest
- func (*QueryResultRequest) Descriptor() ([]byte, []int)
- func (this *QueryResultRequest) Equal(that interface{}) bool
- func (m *QueryResultRequest) GetHttpResponse() *httpgrpc.HTTPResponse
- func (m *QueryResultRequest) GetQueryID() uint64
- func (this *QueryResultRequest) GoString() string
- func (m *QueryResultRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryResultRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResultRequest) ProtoMessage()
- func (m *QueryResultRequest) Reset()
- func (m *QueryResultRequest) Size() (n int)
- func (this *QueryResultRequest) String() string
- func (m *QueryResultRequest) Unmarshal(dAtA []byte) error
- func (m *QueryResultRequest) XXX_DiscardUnknown()
- func (m *QueryResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResultRequest) XXX_Merge(src proto.Message)
- func (m *QueryResultRequest) XXX_Size() int
- func (m *QueryResultRequest) XXX_Unmarshal(b []byte) error
- type QueryResultResponse
- func (*QueryResultResponse) Descriptor() ([]byte, []int)
- func (this *QueryResultResponse) Equal(that interface{}) bool
- func (this *QueryResultResponse) GoString() string
- func (m *QueryResultResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryResultResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResultResponse) ProtoMessage()
- func (m *QueryResultResponse) Reset()
- func (m *QueryResultResponse) Size() (n int)
- func (this *QueryResultResponse) String() string
- func (m *QueryResultResponse) Unmarshal(dAtA []byte) error
- func (m *QueryResultResponse) XXX_DiscardUnknown()
- func (m *QueryResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResultResponse) XXX_Merge(src proto.Message)
- func (m *QueryResultResponse) XXX_Size() int
- func (m *QueryResultResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedFrontendForQuerierServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthFrontend = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFrontend = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterFrontendForQuerierServer ¶
func RegisterFrontendForQuerierServer(s *grpc.Server, srv FrontendForQuerierServer)
Types ¶
type FrontendForQuerierClient ¶
type FrontendForQuerierClient interface {
QueryResult(ctx context.Context, in *QueryResultRequest, opts ...grpc.CallOption) (*QueryResultResponse, error)
}
FrontendForQuerierClient is the client API for FrontendForQuerier service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFrontendForQuerierClient ¶
func NewFrontendForQuerierClient(cc *grpc.ClientConn) FrontendForQuerierClient
type FrontendForQuerierServer ¶
type FrontendForQuerierServer interface {
QueryResult(context.Context, *QueryResultRequest) (*QueryResultResponse, error)
}
FrontendForQuerierServer is the server API for FrontendForQuerier service.
type QueryResultRequest ¶
type QueryResultRequest struct { QueryID uint64 `protobuf:"varint,1,opt,name=queryID,proto3" json:"queryID,omitempty"` HttpResponse *httpgrpc.HTTPResponse `protobuf:"bytes,2,opt,name=httpResponse,proto3" json:"httpResponse,omitempty"` Stats *github_com_cortexproject_cortex_pkg_querier_stats.QueryStats `` /* 135-byte string literal not displayed */ }
func (*QueryResultRequest) Descriptor ¶
func (*QueryResultRequest) Descriptor() ([]byte, []int)
func (*QueryResultRequest) Equal ¶
func (this *QueryResultRequest) Equal(that interface{}) bool
func (*QueryResultRequest) GetHttpResponse ¶
func (m *QueryResultRequest) GetHttpResponse() *httpgrpc.HTTPResponse
func (*QueryResultRequest) GetQueryID ¶
func (m *QueryResultRequest) GetQueryID() uint64
func (*QueryResultRequest) GoString ¶
func (this *QueryResultRequest) GoString() string
func (*QueryResultRequest) Marshal ¶
func (m *QueryResultRequest) Marshal() (dAtA []byte, err error)
func (*QueryResultRequest) MarshalTo ¶
func (m *QueryResultRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryResultRequest) MarshalToSizedBuffer ¶
func (m *QueryResultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResultRequest) ProtoMessage ¶
func (*QueryResultRequest) ProtoMessage()
func (*QueryResultRequest) Reset ¶
func (m *QueryResultRequest) Reset()
func (*QueryResultRequest) Size ¶
func (m *QueryResultRequest) Size() (n int)
func (*QueryResultRequest) String ¶
func (this *QueryResultRequest) String() string
func (*QueryResultRequest) Unmarshal ¶
func (m *QueryResultRequest) Unmarshal(dAtA []byte) error
func (*QueryResultRequest) XXX_DiscardUnknown ¶
func (m *QueryResultRequest) XXX_DiscardUnknown()
func (*QueryResultRequest) XXX_Marshal ¶
func (m *QueryResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResultRequest) XXX_Merge ¶
func (m *QueryResultRequest) XXX_Merge(src proto.Message)
func (*QueryResultRequest) XXX_Size ¶
func (m *QueryResultRequest) XXX_Size() int
func (*QueryResultRequest) XXX_Unmarshal ¶
func (m *QueryResultRequest) XXX_Unmarshal(b []byte) error
type QueryResultResponse ¶
type QueryResultResponse struct { }
func (*QueryResultResponse) Descriptor ¶
func (*QueryResultResponse) Descriptor() ([]byte, []int)
func (*QueryResultResponse) Equal ¶
func (this *QueryResultResponse) Equal(that interface{}) bool
func (*QueryResultResponse) GoString ¶
func (this *QueryResultResponse) GoString() string
func (*QueryResultResponse) Marshal ¶
func (m *QueryResultResponse) Marshal() (dAtA []byte, err error)
func (*QueryResultResponse) MarshalTo ¶
func (m *QueryResultResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryResultResponse) MarshalToSizedBuffer ¶
func (m *QueryResultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResultResponse) ProtoMessage ¶
func (*QueryResultResponse) ProtoMessage()
func (*QueryResultResponse) Reset ¶
func (m *QueryResultResponse) Reset()
func (*QueryResultResponse) Size ¶
func (m *QueryResultResponse) Size() (n int)
func (*QueryResultResponse) String ¶
func (this *QueryResultResponse) String() string
func (*QueryResultResponse) Unmarshal ¶
func (m *QueryResultResponse) Unmarshal(dAtA []byte) error
func (*QueryResultResponse) XXX_DiscardUnknown ¶
func (m *QueryResultResponse) XXX_DiscardUnknown()
func (*QueryResultResponse) XXX_Marshal ¶
func (m *QueryResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResultResponse) XXX_Merge ¶
func (m *QueryResultResponse) XXX_Merge(src proto.Message)
func (*QueryResultResponse) XXX_Size ¶
func (m *QueryResultResponse) XXX_Size() int
func (*QueryResultResponse) XXX_Unmarshal ¶
func (m *QueryResultResponse) XXX_Unmarshal(b []byte) error
type UnimplementedFrontendForQuerierServer ¶
type UnimplementedFrontendForQuerierServer struct { }
UnimplementedFrontendForQuerierServer can be embedded to have forward compatible implementations.
func (*UnimplementedFrontendForQuerierServer) QueryResult ¶
func (*UnimplementedFrontendForQuerierServer) QueryResult(ctx context.Context, req *QueryResultRequest) (*QueryResultResponse, error)
Click to show internal directories.
Click to hide internal directories.