frontendv2pb

package
v1.5.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFrontend        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFrontend          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFrontend = fmt.Errorf("proto: unexpected end of group")
)

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        *stats.Stats           `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"`
}

func (*QueryResultRequest) Descriptor

func (*QueryResultRequest) Descriptor() ([]byte, []int)

func (*QueryResultRequest) GetHttpResponse

func (m *QueryResultRequest) GetHttpResponse() *httpgrpc.HTTPResponse

func (*QueryResultRequest) GetQueryID

func (m *QueryResultRequest) GetQueryID() uint64

func (*QueryResultRequest) GetStats

func (m *QueryResultRequest) GetStats() *stats.Stats

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 (m *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) 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 (m *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

Jump to

Keyboard shortcuts

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