Documentation ¶
Index ¶
- Variables
- func RegisterStorageServer(s grpc.ServiceRegistrar, srv StorageServer)
- type CreateIngestionJobRequest
- func (*CreateIngestionJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIngestionJobRequest) GetJobID() string
- func (*CreateIngestionJobRequest) ProtoMessage()
- func (x *CreateIngestionJobRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIngestionJobRequest) Reset()
- func (x *CreateIngestionJobRequest) String() string
- type CreateIngestionJobResponse
- func (*CreateIngestionJobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIngestionJobResponse) GetMessage() string
- func (x *CreateIngestionJobResponse) GetStorageID() string
- func (*CreateIngestionJobResponse) ProtoMessage()
- func (x *CreateIngestionJobResponse) ProtoReflect() protoreflect.Message
- func (x *CreateIngestionJobResponse) Reset()
- func (x *CreateIngestionJobResponse) String() string
- type PingRequest
- type PingResponse
- type QueryTableRequest
- func (*QueryTableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTableRequest) GetBrokerID() string
- func (x *QueryTableRequest) GetQuery() string
- func (x *QueryTableRequest) GetTable() string
- func (*QueryTableRequest) ProtoMessage()
- func (x *QueryTableRequest) ProtoReflect() protoreflect.Message
- func (x *QueryTableRequest) Reset()
- func (x *QueryTableRequest) String() string
- type QueryTableResponse
- func (*QueryTableResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTableResponse) GetBrokerID() string
- func (x *QueryTableResponse) GetResult() []byte
- func (*QueryTableResponse) ProtoMessage()
- func (x *QueryTableResponse) ProtoReflect() protoreflect.Message
- func (x *QueryTableResponse) Reset()
- func (x *QueryTableResponse) String() string
- type StorageClient
- type StorageServer
- type UnimplementedStorageServer
- func (UnimplementedStorageServer) CreateIngestionJob(context.Context, *CreateIngestionJobRequest) (*CreateIngestionJobResponse, error)
- func (UnimplementedStorageServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedStorageServer) QueryTable(context.Context, *QueryTableRequest) (*QueryTableResponse, error)
- type UnsafeStorageServer
Constants ¶
This section is empty.
Variables ¶
var File_proto_v1_storage_storage_proto protoreflect.FileDescriptor
var Storage_ServiceDesc = grpc.ServiceDesc{ ServiceName: "storage.v1.Storage", HandlerType: (*StorageServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _Storage_Ping_Handler, }, { MethodName: "CreateIngestionJob", Handler: _Storage_CreateIngestionJob_Handler, }, { MethodName: "QueryTable", Handler: _Storage_QueryTable_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/v1/storage/storage.proto", }
Storage_ServiceDesc is the grpc.ServiceDesc for Storage service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterStorageServer ¶
func RegisterStorageServer(s grpc.ServiceRegistrar, srv StorageServer)
Types ¶
type CreateIngestionJobRequest ¶
type CreateIngestionJobRequest struct { JobID string `protobuf:"bytes,1,opt,name=jobID,proto3" json:"jobID,omitempty"` // contains filtered or unexported fields }
func (*CreateIngestionJobRequest) Descriptor
deprecated
func (*CreateIngestionJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIngestionJobRequest.ProtoReflect.Descriptor instead.
func (*CreateIngestionJobRequest) GetJobID ¶
func (x *CreateIngestionJobRequest) GetJobID() string
func (*CreateIngestionJobRequest) ProtoMessage ¶
func (*CreateIngestionJobRequest) ProtoMessage()
func (*CreateIngestionJobRequest) ProtoReflect ¶
func (x *CreateIngestionJobRequest) ProtoReflect() protoreflect.Message
func (*CreateIngestionJobRequest) Reset ¶
func (x *CreateIngestionJobRequest) Reset()
func (*CreateIngestionJobRequest) String ¶
func (x *CreateIngestionJobRequest) String() string
type CreateIngestionJobResponse ¶
type CreateIngestionJobResponse struct { StorageID string `protobuf:"bytes,1,opt,name=storageID,proto3" json:"storageID,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*CreateIngestionJobResponse) Descriptor
deprecated
func (*CreateIngestionJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateIngestionJobResponse.ProtoReflect.Descriptor instead.
func (*CreateIngestionJobResponse) GetMessage ¶
func (x *CreateIngestionJobResponse) GetMessage() string
func (*CreateIngestionJobResponse) GetStorageID ¶
func (x *CreateIngestionJobResponse) GetStorageID() string
func (*CreateIngestionJobResponse) ProtoMessage ¶
func (*CreateIngestionJobResponse) ProtoMessage()
func (*CreateIngestionJobResponse) ProtoReflect ¶
func (x *CreateIngestionJobResponse) ProtoReflect() protoreflect.Message
func (*CreateIngestionJobResponse) Reset ¶
func (x *CreateIngestionJobResponse) Reset()
func (*CreateIngestionJobResponse) String ¶
func (x *CreateIngestionJobResponse) String() string
type PingRequest ¶
type PingRequest struct {
// contains filtered or unexported fields
}
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingResponse ¶
type PingResponse struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) GetMsg ¶
func (x *PingResponse) GetMsg() string
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type QueryTableRequest ¶
type QueryTableRequest struct { BrokerID string `protobuf:"bytes,1,opt,name=brokerID,proto3" json:"brokerID,omitempty"` Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*QueryTableRequest) Descriptor
deprecated
func (*QueryTableRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryTableRequest.ProtoReflect.Descriptor instead.
func (*QueryTableRequest) GetBrokerID ¶
func (x *QueryTableRequest) GetBrokerID() string
func (*QueryTableRequest) GetQuery ¶
func (x *QueryTableRequest) GetQuery() string
func (*QueryTableRequest) GetTable ¶
func (x *QueryTableRequest) GetTable() string
func (*QueryTableRequest) ProtoMessage ¶
func (*QueryTableRequest) ProtoMessage()
func (*QueryTableRequest) ProtoReflect ¶
func (x *QueryTableRequest) ProtoReflect() protoreflect.Message
func (*QueryTableRequest) Reset ¶
func (x *QueryTableRequest) Reset()
func (*QueryTableRequest) String ¶
func (x *QueryTableRequest) String() string
type QueryTableResponse ¶
type QueryTableResponse struct { BrokerID string `protobuf:"bytes,1,opt,name=brokerID,proto3" json:"brokerID,omitempty"` Result []byte `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*QueryTableResponse) Descriptor
deprecated
func (*QueryTableResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryTableResponse.ProtoReflect.Descriptor instead.
func (*QueryTableResponse) GetBrokerID ¶
func (x *QueryTableResponse) GetBrokerID() string
func (*QueryTableResponse) GetResult ¶
func (x *QueryTableResponse) GetResult() []byte
func (*QueryTableResponse) ProtoMessage ¶
func (*QueryTableResponse) ProtoMessage()
func (*QueryTableResponse) ProtoReflect ¶
func (x *QueryTableResponse) ProtoReflect() protoreflect.Message
func (*QueryTableResponse) Reset ¶
func (x *QueryTableResponse) Reset()
func (*QueryTableResponse) String ¶
func (x *QueryTableResponse) String() string
type StorageClient ¶
type StorageClient interface { Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) CreateIngestionJob(ctx context.Context, in *CreateIngestionJobRequest, opts ...grpc.CallOption) (*CreateIngestionJobResponse, error) QueryTable(ctx context.Context, in *QueryTableRequest, opts ...grpc.CallOption) (*QueryTableResponse, error) }
StorageClient is the client API for Storage service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewStorageClient ¶
func NewStorageClient(cc grpc.ClientConnInterface) StorageClient
type StorageServer ¶
type StorageServer interface { Ping(context.Context, *PingRequest) (*PingResponse, error) CreateIngestionJob(context.Context, *CreateIngestionJobRequest) (*CreateIngestionJobResponse, error) QueryTable(context.Context, *QueryTableRequest) (*QueryTableResponse, error) }
StorageServer is the server API for Storage service. All implementations should embed UnimplementedStorageServer for forward compatibility
type UnimplementedStorageServer ¶
type UnimplementedStorageServer struct { }
UnimplementedStorageServer should be embedded to have forward compatible implementations.
func (UnimplementedStorageServer) CreateIngestionJob ¶
func (UnimplementedStorageServer) CreateIngestionJob(context.Context, *CreateIngestionJobRequest) (*CreateIngestionJobResponse, error)
func (UnimplementedStorageServer) Ping ¶
func (UnimplementedStorageServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedStorageServer) QueryTable ¶
func (UnimplementedStorageServer) QueryTable(context.Context, *QueryTableRequest) (*QueryTableResponse, error)
type UnsafeStorageServer ¶
type UnsafeStorageServer interface {
// contains filtered or unexported methods
}
UnsafeStorageServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageServer will result in compilation errors.