Documentation
¶
Index ¶
- Variables
- func RegisterMetastoreServiceServer(s grpc.ServiceRegistrar, srv MetastoreServiceServer)
- func RegisterOperatorServiceServer(s grpc.ServiceRegistrar, srv OperatorServiceServer)
- type AddBlockRequest
- func (m *AddBlockRequest) CloneMessageVT() proto.Message
- func (m *AddBlockRequest) CloneVT() *AddBlockRequest
- func (*AddBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (this *AddBlockRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *AddBlockRequest) EqualVT(that *AddBlockRequest) bool
- func (x *AddBlockRequest) GetBlock() *BlockMeta
- func (m *AddBlockRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AddBlockRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *AddBlockRequest) MarshalVT() (dAtA []byte, err error)
- func (*AddBlockRequest) ProtoMessage()
- func (x *AddBlockRequest) ProtoReflect() protoreflect.Message
- func (x *AddBlockRequest) Reset()
- func (m *AddBlockRequest) SizeVT() (n int)
- func (x *AddBlockRequest) String() string
- func (m *AddBlockRequest) UnmarshalVT(dAtA []byte) error
- type AddBlockResponse
- func (m *AddBlockResponse) CloneMessageVT() proto.Message
- func (m *AddBlockResponse) CloneVT() *AddBlockResponse
- func (*AddBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (this *AddBlockResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *AddBlockResponse) EqualVT(that *AddBlockResponse) bool
- func (m *AddBlockResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AddBlockResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *AddBlockResponse) MarshalVT() (dAtA []byte, err error)
- func (*AddBlockResponse) ProtoMessage()
- func (x *AddBlockResponse) ProtoReflect() protoreflect.Message
- func (x *AddBlockResponse) Reset()
- func (m *AddBlockResponse) SizeVT() (n int)
- func (x *AddBlockResponse) String() string
- func (m *AddBlockResponse) UnmarshalVT(dAtA []byte) error
- type BlockMeta
- func (m *BlockMeta) CloneMessageVT() proto.Message
- func (m *BlockMeta) CloneVT() *BlockMeta
- func (*BlockMeta) Descriptor() ([]byte, []int)deprecated
- func (this *BlockMeta) EqualMessageVT(thatMsg proto.Message) bool
- func (this *BlockMeta) EqualVT(that *BlockMeta) bool
- func (x *BlockMeta) GetCompactionLevel() uint32
- func (x *BlockMeta) GetDatasets() []*Dataset
- func (x *BlockMeta) GetFormatVersion() uint64
- func (x *BlockMeta) GetId() string
- func (x *BlockMeta) GetMaxTime() int64
- func (x *BlockMeta) GetMinTime() int64
- func (x *BlockMeta) GetShard() uint32
- func (x *BlockMeta) GetSize() uint64
- func (x *BlockMeta) GetTenantId() string
- func (m *BlockMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BlockMeta) MarshalToVT(dAtA []byte) (int, error)
- func (m *BlockMeta) MarshalVT() (dAtA []byte, err error)
- func (*BlockMeta) ProtoMessage()
- func (x *BlockMeta) ProtoReflect() protoreflect.Message
- func (x *BlockMeta) Reset()
- func (m *BlockMeta) SizeVT() (n int)
- func (x *BlockMeta) String() string
- func (m *BlockMeta) UnmarshalVT(dAtA []byte) error
- type Dataset
- func (m *Dataset) CloneMessageVT() proto.Message
- func (m *Dataset) CloneVT() *Dataset
- func (*Dataset) Descriptor() ([]byte, []int)deprecated
- func (this *Dataset) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Dataset) EqualVT(that *Dataset) bool
- func (x *Dataset) GetLabels() []*v1.Labels
- func (x *Dataset) GetMaxTime() int64
- func (x *Dataset) GetMinTime() int64
- func (x *Dataset) GetName() string
- func (x *Dataset) GetProfileTypes() []string
- func (x *Dataset) GetSize() uint64
- func (x *Dataset) GetTableOfContents() []uint64
- func (x *Dataset) GetTenantId() string
- func (m *Dataset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Dataset) MarshalToVT(dAtA []byte) (int, error)
- func (m *Dataset) MarshalVT() (dAtA []byte, err error)
- func (*Dataset) ProtoMessage()
- func (x *Dataset) ProtoReflect() protoreflect.Message
- func (x *Dataset) Reset()
- func (m *Dataset) SizeVT() (n int)
- func (x *Dataset) String() string
- func (m *Dataset) UnmarshalVT(dAtA []byte) error
- type GetProfileStatsRequest
- func (m *GetProfileStatsRequest) CloneMessageVT() proto.Message
- func (m *GetProfileStatsRequest) CloneVT() *GetProfileStatsRequest
- func (*GetProfileStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *GetProfileStatsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GetProfileStatsRequest) EqualVT(that *GetProfileStatsRequest) bool
- func (x *GetProfileStatsRequest) GetTenantId() string
- func (m *GetProfileStatsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetProfileStatsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetProfileStatsRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetProfileStatsRequest) ProtoMessage()
- func (x *GetProfileStatsRequest) ProtoReflect() protoreflect.Message
- func (x *GetProfileStatsRequest) Reset()
- func (m *GetProfileStatsRequest) SizeVT() (n int)
- func (x *GetProfileStatsRequest) String() string
- func (m *GetProfileStatsRequest) UnmarshalVT(dAtA []byte) error
- type InfoRequest
- func (m *InfoRequest) CloneMessageVT() proto.Message
- func (m *InfoRequest) CloneVT() *InfoRequest
- func (*InfoRequest) Descriptor() ([]byte, []int)deprecated
- func (this *InfoRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *InfoRequest) EqualVT(that *InfoRequest) bool
- func (m *InfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InfoRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *InfoRequest) MarshalVT() (dAtA []byte, err error)
- func (*InfoRequest) ProtoMessage()
- func (x *InfoRequest) ProtoReflect() protoreflect.Message
- func (x *InfoRequest) Reset()
- func (m *InfoRequest) SizeVT() (n int)
- func (x *InfoRequest) String() string
- func (m *InfoRequest) UnmarshalVT(dAtA []byte) error
- type InfoResponse
- func (m *InfoResponse) CloneMessageVT() proto.Message
- func (m *InfoResponse) CloneVT() *InfoResponse
- func (*InfoResponse) Descriptor() ([]byte, []int)deprecated
- func (this *InfoResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *InfoResponse) EqualVT(that *InfoResponse) bool
- func (x *InfoResponse) GetId() string
- func (x *InfoResponse) GetIsStateVerified() bool
- func (x *InfoResponse) GetLastLeaderContact() int64
- func (x *InfoResponse) GetLeaderId() string
- func (x *InfoResponse) GetLog() *Log
- func (x *InfoResponse) GetPeers() []*Peer
- func (x *InfoResponse) GetProtocol() *Protocol
- func (x *InfoResponse) GetSnapshot() *Snapshot
- func (x *InfoResponse) GetState() State
- func (x *InfoResponse) GetSuffrage() Suffrage
- func (x *InfoResponse) GetTerm() uint64
- func (m *InfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InfoResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *InfoResponse) MarshalVT() (dAtA []byte, err error)
- func (*InfoResponse) ProtoMessage()
- func (x *InfoResponse) ProtoReflect() protoreflect.Message
- func (x *InfoResponse) Reset()
- func (m *InfoResponse) SizeVT() (n int)
- func (x *InfoResponse) String() string
- func (m *InfoResponse) UnmarshalVT(dAtA []byte) error
- type Log
- func (m *Log) CloneMessageVT() proto.Message
- func (m *Log) CloneVT() *Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (this *Log) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Log) EqualVT(that *Log) bool
- func (x *Log) GetAppliedIndex() uint64
- func (x *Log) GetCommitIndex() uint64
- func (x *Log) GetFsmPendingLength() uint64
- func (x *Log) GetLastIndex() uint64
- func (m *Log) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Log) MarshalToVT(dAtA []byte) (int, error)
- func (m *Log) MarshalVT() (dAtA []byte, err error)
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (m *Log) SizeVT() (n int)
- func (x *Log) String() string
- func (m *Log) UnmarshalVT(dAtA []byte) error
- type MetastoreServiceClient
- type MetastoreServiceServer
- type OperatorServiceClient
- type OperatorServiceServer
- type Peer
- func (m *Peer) CloneMessageVT() proto.Message
- func (m *Peer) CloneVT() *Peer
- func (*Peer) Descriptor() ([]byte, []int)deprecated
- func (this *Peer) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Peer) EqualVT(that *Peer) bool
- func (x *Peer) GetAddress() string
- func (x *Peer) GetId() string
- func (x *Peer) GetSuffrage() Suffrage
- func (m *Peer) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Peer) MarshalToVT(dAtA []byte) (int, error)
- func (m *Peer) MarshalVT() (dAtA []byte, err error)
- func (*Peer) ProtoMessage()
- func (x *Peer) ProtoReflect() protoreflect.Message
- func (x *Peer) Reset()
- func (m *Peer) SizeVT() (n int)
- func (x *Peer) String() string
- func (m *Peer) UnmarshalVT(dAtA []byte) error
- type Protocol
- func (m *Protocol) CloneMessageVT() proto.Message
- func (m *Protocol) CloneVT() *Protocol
- func (*Protocol) Descriptor() ([]byte, []int)deprecated
- func (this *Protocol) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Protocol) EqualVT(that *Protocol) bool
- func (x *Protocol) GetMaxSnapshotVersion() uint64
- func (x *Protocol) GetMaxVersion() uint64
- func (x *Protocol) GetMinSnapshotVersion() uint64
- func (x *Protocol) GetMinVersion() uint64
- func (x *Protocol) GetVersion() uint64
- func (m *Protocol) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Protocol) MarshalToVT(dAtA []byte) (int, error)
- func (m *Protocol) MarshalVT() (dAtA []byte, err error)
- func (*Protocol) ProtoMessage()
- func (x *Protocol) ProtoReflect() protoreflect.Message
- func (x *Protocol) Reset()
- func (m *Protocol) SizeVT() (n int)
- func (x *Protocol) String() string
- func (m *Protocol) UnmarshalVT(dAtA []byte) error
- type QueryMetadataRequest
- func (m *QueryMetadataRequest) CloneMessageVT() proto.Message
- func (m *QueryMetadataRequest) CloneVT() *QueryMetadataRequest
- func (*QueryMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (this *QueryMetadataRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *QueryMetadataRequest) EqualVT(that *QueryMetadataRequest) bool
- func (x *QueryMetadataRequest) GetEndTime() int64
- func (x *QueryMetadataRequest) GetQuery() string
- func (x *QueryMetadataRequest) GetStartTime() int64
- func (x *QueryMetadataRequest) GetTenantId() []string
- func (m *QueryMetadataRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryMetadataRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryMetadataRequest) MarshalVT() (dAtA []byte, err error)
- func (*QueryMetadataRequest) ProtoMessage()
- func (x *QueryMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *QueryMetadataRequest) Reset()
- func (m *QueryMetadataRequest) SizeVT() (n int)
- func (x *QueryMetadataRequest) String() string
- func (m *QueryMetadataRequest) UnmarshalVT(dAtA []byte) error
- type QueryMetadataResponse
- func (m *QueryMetadataResponse) CloneMessageVT() proto.Message
- func (m *QueryMetadataResponse) CloneVT() *QueryMetadataResponse
- func (*QueryMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (this *QueryMetadataResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *QueryMetadataResponse) EqualVT(that *QueryMetadataResponse) bool
- func (x *QueryMetadataResponse) GetBlocks() []*BlockMeta
- func (m *QueryMetadataResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryMetadataResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryMetadataResponse) MarshalVT() (dAtA []byte, err error)
- func (*QueryMetadataResponse) ProtoMessage()
- func (x *QueryMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *QueryMetadataResponse) Reset()
- func (m *QueryMetadataResponse) SizeVT() (n int)
- func (x *QueryMetadataResponse) String() string
- func (m *QueryMetadataResponse) UnmarshalVT(dAtA []byte) error
- type ReadIndexRequest
- func (m *ReadIndexRequest) CloneMessageVT() proto.Message
- func (m *ReadIndexRequest) CloneVT() *ReadIndexRequest
- func (*ReadIndexRequest) Descriptor() ([]byte, []int)deprecated
- func (this *ReadIndexRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ReadIndexRequest) EqualVT(that *ReadIndexRequest) bool
- func (x *ReadIndexRequest) GetDebugRequestId() string
- func (m *ReadIndexRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReadIndexRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReadIndexRequest) MarshalVT() (dAtA []byte, err error)
- func (*ReadIndexRequest) ProtoMessage()
- func (x *ReadIndexRequest) ProtoReflect() protoreflect.Message
- func (x *ReadIndexRequest) Reset()
- func (m *ReadIndexRequest) SizeVT() (n int)
- func (x *ReadIndexRequest) String() string
- func (m *ReadIndexRequest) UnmarshalVT(dAtA []byte) error
- type ReadIndexResponse
- func (m *ReadIndexResponse) CloneMessageVT() proto.Message
- func (m *ReadIndexResponse) CloneVT() *ReadIndexResponse
- func (*ReadIndexResponse) Descriptor() ([]byte, []int)deprecated
- func (this *ReadIndexResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ReadIndexResponse) EqualVT(that *ReadIndexResponse) bool
- func (x *ReadIndexResponse) GetReadIndex() uint64
- func (m *ReadIndexResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReadIndexResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReadIndexResponse) MarshalVT() (dAtA []byte, err error)
- func (*ReadIndexResponse) ProtoMessage()
- func (x *ReadIndexResponse) ProtoReflect() protoreflect.Message
- func (x *ReadIndexResponse) Reset()
- func (m *ReadIndexResponse) SizeVT() (n int)
- func (x *ReadIndexResponse) String() string
- func (m *ReadIndexResponse) UnmarshalVT(dAtA []byte) error
- type Snapshot
- func (m *Snapshot) CloneMessageVT() proto.Message
- func (m *Snapshot) CloneVT() *Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)deprecated
- func (this *Snapshot) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Snapshot) EqualVT(that *Snapshot) bool
- func (x *Snapshot) GetLastIndex() uint64
- func (x *Snapshot) GetLastTerm() uint64
- func (m *Snapshot) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Snapshot) MarshalToVT(dAtA []byte) (int, error)
- func (m *Snapshot) MarshalVT() (dAtA []byte, err error)
- func (*Snapshot) ProtoMessage()
- func (x *Snapshot) ProtoReflect() protoreflect.Message
- func (x *Snapshot) Reset()
- func (m *Snapshot) SizeVT() (n int)
- func (x *Snapshot) String() string
- func (m *Snapshot) UnmarshalVT(dAtA []byte) error
- type State
- type Suffrage
- type UnimplementedMetastoreServiceServer
- func (UnimplementedMetastoreServiceServer) AddBlock(context.Context, *AddBlockRequest) (*AddBlockResponse, error)
- func (UnimplementedMetastoreServiceServer) GetProfileStats(context.Context, *GetProfileStatsRequest) (*v1.GetProfileStatsResponse, error)
- func (UnimplementedMetastoreServiceServer) QueryMetadata(context.Context, *QueryMetadataRequest) (*QueryMetadataResponse, error)
- func (UnimplementedMetastoreServiceServer) ReadIndex(context.Context, *ReadIndexRequest) (*ReadIndexResponse, error)
- type UnimplementedOperatorServiceServer
- type UnsafeMetastoreServiceServer
- type UnsafeOperatorServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( State_name = map[int32]string{ 0: "Follower", 1: "Candidate", 2: "Leader", 3: "Shutdown", } State_value = map[string]int32{ "Follower": 0, "Candidate": 1, "Leader": 2, "Shutdown": 3, } )
Enum value maps for State.
var ( Suffrage_name = map[int32]string{ 0: "Voter", 1: "NonVoter", 2: "Staging", } Suffrage_value = map[string]int32{ "Voter": 0, "NonVoter": 1, "Staging": 2, } )
Enum value maps for Suffrage.
var File_metastore_v1_metastore_proto protoreflect.FileDescriptor
var File_metastore_v1_operator_proto protoreflect.FileDescriptor
var MetastoreService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "metastore.v1.MetastoreService", HandlerType: (*MetastoreServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddBlock", Handler: _MetastoreService_AddBlock_Handler, }, { MethodName: "QueryMetadata", Handler: _MetastoreService_QueryMetadata_Handler, }, { MethodName: "ReadIndex", Handler: _MetastoreService_ReadIndex_Handler, }, { MethodName: "GetProfileStats", Handler: _MetastoreService_GetProfileStats_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "metastore/v1/metastore.proto", }
MetastoreService_ServiceDesc is the grpc.ServiceDesc for MetastoreService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OperatorService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "metastore.v1.OperatorService", HandlerType: (*OperatorServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Info", Handler: _OperatorService_Info_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "metastore/v1/operator.proto", }
OperatorService_ServiceDesc is the grpc.ServiceDesc for OperatorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMetastoreServiceServer ¶
func RegisterMetastoreServiceServer(s grpc.ServiceRegistrar, srv MetastoreServiceServer)
func RegisterOperatorServiceServer ¶
func RegisterOperatorServiceServer(s grpc.ServiceRegistrar, srv OperatorServiceServer)
Types ¶
type AddBlockRequest ¶
type AddBlockRequest struct { Block *BlockMeta `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
func (*AddBlockRequest) CloneMessageVT ¶
func (m *AddBlockRequest) CloneMessageVT() proto.Message
func (*AddBlockRequest) CloneVT ¶
func (m *AddBlockRequest) CloneVT() *AddBlockRequest
func (*AddBlockRequest) Descriptor
deprecated
func (*AddBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddBlockRequest.ProtoReflect.Descriptor instead.
func (*AddBlockRequest) EqualMessageVT ¶
func (this *AddBlockRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*AddBlockRequest) EqualVT ¶
func (this *AddBlockRequest) EqualVT(that *AddBlockRequest) bool
func (*AddBlockRequest) GetBlock ¶
func (x *AddBlockRequest) GetBlock() *BlockMeta
func (*AddBlockRequest) MarshalToSizedBufferVT ¶
func (m *AddBlockRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AddBlockRequest) MarshalToVT ¶
func (m *AddBlockRequest) MarshalToVT(dAtA []byte) (int, error)
func (*AddBlockRequest) MarshalVT ¶
func (m *AddBlockRequest) MarshalVT() (dAtA []byte, err error)
func (*AddBlockRequest) ProtoMessage ¶
func (*AddBlockRequest) ProtoMessage()
func (*AddBlockRequest) ProtoReflect ¶
func (x *AddBlockRequest) ProtoReflect() protoreflect.Message
func (*AddBlockRequest) Reset ¶
func (x *AddBlockRequest) Reset()
func (*AddBlockRequest) SizeVT ¶
func (m *AddBlockRequest) SizeVT() (n int)
func (*AddBlockRequest) String ¶
func (x *AddBlockRequest) String() string
func (*AddBlockRequest) UnmarshalVT ¶
func (m *AddBlockRequest) UnmarshalVT(dAtA []byte) error
type AddBlockResponse ¶
type AddBlockResponse struct {
// contains filtered or unexported fields
}
func (*AddBlockResponse) CloneMessageVT ¶
func (m *AddBlockResponse) CloneMessageVT() proto.Message
func (*AddBlockResponse) CloneVT ¶
func (m *AddBlockResponse) CloneVT() *AddBlockResponse
func (*AddBlockResponse) Descriptor
deprecated
func (*AddBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddBlockResponse.ProtoReflect.Descriptor instead.
func (*AddBlockResponse) EqualMessageVT ¶
func (this *AddBlockResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*AddBlockResponse) EqualVT ¶
func (this *AddBlockResponse) EqualVT(that *AddBlockResponse) bool
func (*AddBlockResponse) MarshalToSizedBufferVT ¶
func (m *AddBlockResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AddBlockResponse) MarshalToVT ¶
func (m *AddBlockResponse) MarshalToVT(dAtA []byte) (int, error)
func (*AddBlockResponse) MarshalVT ¶
func (m *AddBlockResponse) MarshalVT() (dAtA []byte, err error)
func (*AddBlockResponse) ProtoMessage ¶
func (*AddBlockResponse) ProtoMessage()
func (*AddBlockResponse) ProtoReflect ¶
func (x *AddBlockResponse) ProtoReflect() protoreflect.Message
func (*AddBlockResponse) Reset ¶
func (x *AddBlockResponse) Reset()
func (*AddBlockResponse) SizeVT ¶
func (m *AddBlockResponse) SizeVT() (n int)
func (*AddBlockResponse) String ¶
func (x *AddBlockResponse) String() string
func (*AddBlockResponse) UnmarshalVT ¶
func (m *AddBlockResponse) UnmarshalVT(dAtA []byte) error
type BlockMeta ¶
type BlockMeta struct { FormatVersion uint64 `protobuf:"varint,1,opt,name=format_version,json=formatVersion,proto3" json:"format_version,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` MinTime int64 `protobuf:"varint,3,opt,name=min_time,json=minTime,proto3" json:"min_time,omitempty"` MaxTime int64 `protobuf:"varint,4,opt,name=max_time,json=maxTime,proto3" json:"max_time,omitempty"` Shard uint32 `protobuf:"varint,5,opt,name=shard,proto3" json:"shard,omitempty"` CompactionLevel uint32 `protobuf:"varint,6,opt,name=compaction_level,json=compactionLevel,proto3" json:"compaction_level,omitempty"` // Optional. Empty if compaction level is 0. TenantId string `protobuf:"bytes,7,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` Datasets []*Dataset `protobuf:"bytes,8,rep,name=datasets,proto3" json:"datasets,omitempty"` Size uint64 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*BlockMeta) CloneMessageVT ¶
func (*BlockMeta) Descriptor
deprecated
func (*BlockMeta) EqualMessageVT ¶
func (*BlockMeta) GetCompactionLevel ¶
func (*BlockMeta) GetDatasets ¶
func (*BlockMeta) GetFormatVersion ¶
func (*BlockMeta) GetMaxTime ¶
func (*BlockMeta) GetMinTime ¶
func (*BlockMeta) GetTenantId ¶
func (*BlockMeta) MarshalToSizedBufferVT ¶
func (*BlockMeta) ProtoMessage ¶
func (*BlockMeta) ProtoMessage()
func (*BlockMeta) ProtoReflect ¶
func (x *BlockMeta) ProtoReflect() protoreflect.Message
func (*BlockMeta) UnmarshalVT ¶
type Dataset ¶
type Dataset struct { Labels []*v1.Labels `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty"` TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` MinTime int64 `protobuf:"varint,3,opt,name=min_time,json=minTime,proto3" json:"min_time,omitempty"` MaxTime int64 `protobuf:"varint,4,opt,name=max_time,json=maxTime,proto3" json:"max_time,omitempty"` // Table of contents lists data sections within the tenant // service region. The offsets are absolute. // // The interpretation of the table of contents is specific // to the metadata format version. By default, the sections are: // - 0: profiles.parquet // - 1: index.tsdb // - 2: symbols.symdb TableOfContents []uint64 `protobuf:"varint,5,rep,packed,name=table_of_contents,json=tableOfContents,proto3" json:"table_of_contents,omitempty"` // Size of the section in bytes. Size uint64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` // TODO: delete // Profile types present in the tenant service data. ProfileTypes []string `protobuf:"bytes,7,rep,name=profile_types,json=profileTypes,proto3" json:"profile_types,omitempty"` // contains filtered or unexported fields }
func (*Dataset) CloneMessageVT ¶
func (*Dataset) Descriptor
deprecated
func (*Dataset) GetMaxTime ¶
func (*Dataset) GetMinTime ¶
func (*Dataset) GetProfileTypes ¶
func (*Dataset) GetTableOfContents ¶
func (*Dataset) GetTenantId ¶
func (*Dataset) MarshalToSizedBufferVT ¶
func (*Dataset) ProtoMessage ¶
func (*Dataset) ProtoMessage()
func (*Dataset) ProtoReflect ¶
func (x *Dataset) ProtoReflect() protoreflect.Message
func (*Dataset) UnmarshalVT ¶
type GetProfileStatsRequest ¶
type GetProfileStatsRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // contains filtered or unexported fields }
func (*GetProfileStatsRequest) CloneMessageVT ¶
func (m *GetProfileStatsRequest) CloneMessageVT() proto.Message
func (*GetProfileStatsRequest) CloneVT ¶
func (m *GetProfileStatsRequest) CloneVT() *GetProfileStatsRequest
func (*GetProfileStatsRequest) Descriptor
deprecated
func (*GetProfileStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileStatsRequest.ProtoReflect.Descriptor instead.
func (*GetProfileStatsRequest) EqualMessageVT ¶
func (this *GetProfileStatsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*GetProfileStatsRequest) EqualVT ¶
func (this *GetProfileStatsRequest) EqualVT(that *GetProfileStatsRequest) bool
func (*GetProfileStatsRequest) GetTenantId ¶
func (x *GetProfileStatsRequest) GetTenantId() string
func (*GetProfileStatsRequest) MarshalToSizedBufferVT ¶
func (m *GetProfileStatsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetProfileStatsRequest) MarshalToVT ¶
func (m *GetProfileStatsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetProfileStatsRequest) MarshalVT ¶
func (m *GetProfileStatsRequest) MarshalVT() (dAtA []byte, err error)
func (*GetProfileStatsRequest) ProtoMessage ¶
func (*GetProfileStatsRequest) ProtoMessage()
func (*GetProfileStatsRequest) ProtoReflect ¶
func (x *GetProfileStatsRequest) ProtoReflect() protoreflect.Message
func (*GetProfileStatsRequest) Reset ¶
func (x *GetProfileStatsRequest) Reset()
func (*GetProfileStatsRequest) SizeVT ¶
func (m *GetProfileStatsRequest) SizeVT() (n int)
func (*GetProfileStatsRequest) String ¶
func (x *GetProfileStatsRequest) String() string
func (*GetProfileStatsRequest) UnmarshalVT ¶
func (m *GetProfileStatsRequest) UnmarshalVT(dAtA []byte) error
type InfoRequest ¶
type InfoRequest struct {
// contains filtered or unexported fields
}
func (*InfoRequest) CloneMessageVT ¶
func (m *InfoRequest) CloneMessageVT() proto.Message
func (*InfoRequest) CloneVT ¶
func (m *InfoRequest) CloneVT() *InfoRequest
func (*InfoRequest) Descriptor
deprecated
func (*InfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use InfoRequest.ProtoReflect.Descriptor instead.
func (*InfoRequest) EqualMessageVT ¶
func (this *InfoRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*InfoRequest) EqualVT ¶
func (this *InfoRequest) EqualVT(that *InfoRequest) bool
func (*InfoRequest) MarshalToSizedBufferVT ¶
func (m *InfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InfoRequest) MarshalToVT ¶
func (m *InfoRequest) MarshalToVT(dAtA []byte) (int, error)
func (*InfoRequest) MarshalVT ¶
func (m *InfoRequest) MarshalVT() (dAtA []byte, err error)
func (*InfoRequest) ProtoMessage ¶
func (*InfoRequest) ProtoMessage()
func (*InfoRequest) ProtoReflect ¶
func (x *InfoRequest) ProtoReflect() protoreflect.Message
func (*InfoRequest) Reset ¶
func (x *InfoRequest) Reset()
func (*InfoRequest) SizeVT ¶
func (m *InfoRequest) SizeVT() (n int)
func (*InfoRequest) String ¶
func (x *InfoRequest) String() string
func (*InfoRequest) UnmarshalVT ¶
func (m *InfoRequest) UnmarshalVT(dAtA []byte) error
type InfoResponse ¶
type InfoResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` State State `protobuf:"varint,2,opt,name=state,proto3,enum=metastore.v1.State" json:"state,omitempty"` LeaderId string `protobuf:"bytes,3,opt,name=leader_id,json=leaderId,proto3" json:"leader_id,omitempty"` // True if the state reported by this node matches the state the cluster // reports. For example, if this node claims to be a leader, but the rest of // the cluster disagrees, this value will be false. IsStateVerified bool `protobuf:"varint,4,opt,name=is_state_verified,json=isStateVerified,proto3" json:"is_state_verified,omitempty"` // Unix timestamp in milliseconds of when the leader last contacted this node. LastLeaderContact int64 `protobuf:"varint,5,opt,name=last_leader_contact,json=lastLeaderContact,proto3" json:"last_leader_contact,omitempty"` Term uint64 `protobuf:"varint,6,opt,name=term,proto3" json:"term,omitempty"` Suffrage Suffrage `protobuf:"varint,7,opt,name=suffrage,proto3,enum=metastore.v1.Suffrage" json:"suffrage,omitempty"` Log *Log `protobuf:"bytes,8,opt,name=log,proto3" json:"log,omitempty"` Snapshot *Snapshot `protobuf:"bytes,9,opt,name=snapshot,proto3" json:"snapshot,omitempty"` Protocol *Protocol `protobuf:"bytes,10,opt,name=protocol,proto3" json:"protocol,omitempty"` Peers []*Peer `protobuf:"bytes,11,rep,name=peers,proto3" json:"peers,omitempty"` // contains filtered or unexported fields }
func (*InfoResponse) CloneMessageVT ¶
func (m *InfoResponse) CloneMessageVT() proto.Message
func (*InfoResponse) CloneVT ¶
func (m *InfoResponse) CloneVT() *InfoResponse
func (*InfoResponse) Descriptor
deprecated
func (*InfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use InfoResponse.ProtoReflect.Descriptor instead.
func (*InfoResponse) EqualMessageVT ¶
func (this *InfoResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*InfoResponse) EqualVT ¶
func (this *InfoResponse) EqualVT(that *InfoResponse) bool
func (*InfoResponse) GetId ¶
func (x *InfoResponse) GetId() string
func (*InfoResponse) GetIsStateVerified ¶
func (x *InfoResponse) GetIsStateVerified() bool
func (*InfoResponse) GetLastLeaderContact ¶
func (x *InfoResponse) GetLastLeaderContact() int64
func (*InfoResponse) GetLeaderId ¶
func (x *InfoResponse) GetLeaderId() string
func (*InfoResponse) GetLog ¶
func (x *InfoResponse) GetLog() *Log
func (*InfoResponse) GetPeers ¶
func (x *InfoResponse) GetPeers() []*Peer
func (*InfoResponse) GetProtocol ¶
func (x *InfoResponse) GetProtocol() *Protocol
func (*InfoResponse) GetSnapshot ¶
func (x *InfoResponse) GetSnapshot() *Snapshot
func (*InfoResponse) GetState ¶
func (x *InfoResponse) GetState() State
func (*InfoResponse) GetSuffrage ¶
func (x *InfoResponse) GetSuffrage() Suffrage
func (*InfoResponse) GetTerm ¶
func (x *InfoResponse) GetTerm() uint64
func (*InfoResponse) MarshalToSizedBufferVT ¶
func (m *InfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InfoResponse) MarshalToVT ¶
func (m *InfoResponse) MarshalToVT(dAtA []byte) (int, error)
func (*InfoResponse) MarshalVT ¶
func (m *InfoResponse) MarshalVT() (dAtA []byte, err error)
func (*InfoResponse) ProtoMessage ¶
func (*InfoResponse) ProtoMessage()
func (*InfoResponse) ProtoReflect ¶
func (x *InfoResponse) ProtoReflect() protoreflect.Message
func (*InfoResponse) Reset ¶
func (x *InfoResponse) Reset()
func (*InfoResponse) SizeVT ¶
func (m *InfoResponse) SizeVT() (n int)
func (*InfoResponse) String ¶
func (x *InfoResponse) String() string
func (*InfoResponse) UnmarshalVT ¶
func (m *InfoResponse) UnmarshalVT(dAtA []byte) error
type Log ¶
type Log struct { CommitIndex uint64 `protobuf:"varint,1,opt,name=commit_index,json=commitIndex,proto3" json:"commit_index,omitempty"` AppliedIndex uint64 `protobuf:"varint,2,opt,name=applied_index,json=appliedIndex,proto3" json:"applied_index,omitempty"` LastIndex uint64 `protobuf:"varint,3,opt,name=last_index,json=lastIndex,proto3" json:"last_index,omitempty"` FsmPendingLength uint64 `protobuf:"varint,4,opt,name=fsm_pending_length,json=fsmPendingLength,proto3" json:"fsm_pending_length,omitempty"` // contains filtered or unexported fields }
func (*Log) CloneMessageVT ¶
func (*Log) Descriptor
deprecated
func (*Log) GetAppliedIndex ¶
func (*Log) GetCommitIndex ¶
func (*Log) GetFsmPendingLength ¶
func (*Log) GetLastIndex ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
func (*Log) UnmarshalVT ¶
type MetastoreServiceClient ¶
type MetastoreServiceClient interface { AddBlock(ctx context.Context, in *AddBlockRequest, opts ...grpc.CallOption) (*AddBlockResponse, error) QueryMetadata(ctx context.Context, in *QueryMetadataRequest, opts ...grpc.CallOption) (*QueryMetadataResponse, error) ReadIndex(ctx context.Context, in *ReadIndexRequest, opts ...grpc.CallOption) (*ReadIndexResponse, error) GetProfileStats(ctx context.Context, in *GetProfileStatsRequest, opts ...grpc.CallOption) (*v1.GetProfileStatsResponse, error) }
MetastoreServiceClient is the client API for MetastoreService 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 NewMetastoreServiceClient ¶
func NewMetastoreServiceClient(cc grpc.ClientConnInterface) MetastoreServiceClient
type MetastoreServiceServer ¶
type MetastoreServiceServer interface { AddBlock(context.Context, *AddBlockRequest) (*AddBlockResponse, error) QueryMetadata(context.Context, *QueryMetadataRequest) (*QueryMetadataResponse, error) ReadIndex(context.Context, *ReadIndexRequest) (*ReadIndexResponse, error) GetProfileStats(context.Context, *GetProfileStatsRequest) (*v1.GetProfileStatsResponse, error) // contains filtered or unexported methods }
MetastoreServiceServer is the server API for MetastoreService service. All implementations must embed UnimplementedMetastoreServiceServer for forward compatibility
type OperatorServiceClient ¶
type OperatorServiceClient interface {
Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error)
}
OperatorServiceClient is the client API for OperatorService 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 NewOperatorServiceClient ¶
func NewOperatorServiceClient(cc grpc.ClientConnInterface) OperatorServiceClient
type OperatorServiceServer ¶
type OperatorServiceServer interface { Info(context.Context, *InfoRequest) (*InfoResponse, error) // contains filtered or unexported methods }
OperatorServiceServer is the server API for OperatorService service. All implementations must embed UnimplementedOperatorServiceServer for forward compatibility
type Peer ¶
type Peer struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Suffrage Suffrage `protobuf:"varint,3,opt,name=suffrage,proto3,enum=metastore.v1.Suffrage" json:"suffrage,omitempty"` // contains filtered or unexported fields }
func (*Peer) CloneMessageVT ¶
func (*Peer) Descriptor
deprecated
func (*Peer) GetAddress ¶
func (*Peer) GetSuffrage ¶
func (*Peer) MarshalToSizedBufferVT ¶
func (*Peer) ProtoMessage ¶
func (*Peer) ProtoMessage()
func (*Peer) ProtoReflect ¶
func (x *Peer) ProtoReflect() protoreflect.Message
func (*Peer) UnmarshalVT ¶
type Protocol ¶
type Protocol struct { Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` MinVersion uint64 `protobuf:"varint,2,opt,name=min_version,json=minVersion,proto3" json:"min_version,omitempty"` MaxVersion uint64 `protobuf:"varint,3,opt,name=max_version,json=maxVersion,proto3" json:"max_version,omitempty"` MinSnapshotVersion uint64 `protobuf:"varint,4,opt,name=min_snapshot_version,json=minSnapshotVersion,proto3" json:"min_snapshot_version,omitempty"` MaxSnapshotVersion uint64 `protobuf:"varint,5,opt,name=max_snapshot_version,json=maxSnapshotVersion,proto3" json:"max_snapshot_version,omitempty"` // contains filtered or unexported fields }
func (*Protocol) CloneMessageVT ¶
func (*Protocol) Descriptor
deprecated
func (*Protocol) GetMaxSnapshotVersion ¶
func (*Protocol) GetMaxVersion ¶
func (*Protocol) GetMinSnapshotVersion ¶
func (*Protocol) GetMinVersion ¶
func (*Protocol) GetVersion ¶
func (*Protocol) MarshalToSizedBufferVT ¶
func (*Protocol) ProtoMessage ¶
func (*Protocol) ProtoMessage()
func (*Protocol) ProtoReflect ¶
func (x *Protocol) ProtoReflect() protoreflect.Message
func (*Protocol) UnmarshalVT ¶
type QueryMetadataRequest ¶
type QueryMetadataRequest struct { TenantId []string `protobuf:"bytes,1,rep,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` StartTime int64 `protobuf:"varint,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*QueryMetadataRequest) CloneMessageVT ¶
func (m *QueryMetadataRequest) CloneMessageVT() proto.Message
func (*QueryMetadataRequest) CloneVT ¶
func (m *QueryMetadataRequest) CloneVT() *QueryMetadataRequest
func (*QueryMetadataRequest) Descriptor
deprecated
func (*QueryMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetadataRequest.ProtoReflect.Descriptor instead.
func (*QueryMetadataRequest) EqualMessageVT ¶
func (this *QueryMetadataRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*QueryMetadataRequest) EqualVT ¶
func (this *QueryMetadataRequest) EqualVT(that *QueryMetadataRequest) bool
func (*QueryMetadataRequest) GetEndTime ¶
func (x *QueryMetadataRequest) GetEndTime() int64
func (*QueryMetadataRequest) GetQuery ¶
func (x *QueryMetadataRequest) GetQuery() string
func (*QueryMetadataRequest) GetStartTime ¶
func (x *QueryMetadataRequest) GetStartTime() int64
func (*QueryMetadataRequest) GetTenantId ¶
func (x *QueryMetadataRequest) GetTenantId() []string
func (*QueryMetadataRequest) MarshalToSizedBufferVT ¶
func (m *QueryMetadataRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryMetadataRequest) MarshalToVT ¶
func (m *QueryMetadataRequest) MarshalToVT(dAtA []byte) (int, error)
func (*QueryMetadataRequest) MarshalVT ¶
func (m *QueryMetadataRequest) MarshalVT() (dAtA []byte, err error)
func (*QueryMetadataRequest) ProtoMessage ¶
func (*QueryMetadataRequest) ProtoMessage()
func (*QueryMetadataRequest) ProtoReflect ¶
func (x *QueryMetadataRequest) ProtoReflect() protoreflect.Message
func (*QueryMetadataRequest) Reset ¶
func (x *QueryMetadataRequest) Reset()
func (*QueryMetadataRequest) SizeVT ¶
func (m *QueryMetadataRequest) SizeVT() (n int)
func (*QueryMetadataRequest) String ¶
func (x *QueryMetadataRequest) String() string
func (*QueryMetadataRequest) UnmarshalVT ¶
func (m *QueryMetadataRequest) UnmarshalVT(dAtA []byte) error
type QueryMetadataResponse ¶
type QueryMetadataResponse struct { Blocks []*BlockMeta `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"` // contains filtered or unexported fields }
func (*QueryMetadataResponse) CloneMessageVT ¶
func (m *QueryMetadataResponse) CloneMessageVT() proto.Message
func (*QueryMetadataResponse) CloneVT ¶
func (m *QueryMetadataResponse) CloneVT() *QueryMetadataResponse
func (*QueryMetadataResponse) Descriptor
deprecated
func (*QueryMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetadataResponse.ProtoReflect.Descriptor instead.
func (*QueryMetadataResponse) EqualMessageVT ¶
func (this *QueryMetadataResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*QueryMetadataResponse) EqualVT ¶
func (this *QueryMetadataResponse) EqualVT(that *QueryMetadataResponse) bool
func (*QueryMetadataResponse) GetBlocks ¶
func (x *QueryMetadataResponse) GetBlocks() []*BlockMeta
func (*QueryMetadataResponse) MarshalToSizedBufferVT ¶
func (m *QueryMetadataResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryMetadataResponse) MarshalToVT ¶
func (m *QueryMetadataResponse) MarshalToVT(dAtA []byte) (int, error)
func (*QueryMetadataResponse) MarshalVT ¶
func (m *QueryMetadataResponse) MarshalVT() (dAtA []byte, err error)
func (*QueryMetadataResponse) ProtoMessage ¶
func (*QueryMetadataResponse) ProtoMessage()
func (*QueryMetadataResponse) ProtoReflect ¶
func (x *QueryMetadataResponse) ProtoReflect() protoreflect.Message
func (*QueryMetadataResponse) Reset ¶
func (x *QueryMetadataResponse) Reset()
func (*QueryMetadataResponse) SizeVT ¶
func (m *QueryMetadataResponse) SizeVT() (n int)
func (*QueryMetadataResponse) String ¶
func (x *QueryMetadataResponse) String() string
func (*QueryMetadataResponse) UnmarshalVT ¶
func (m *QueryMetadataResponse) UnmarshalVT(dAtA []byte) error
type ReadIndexRequest ¶
type ReadIndexRequest struct { DebugRequestId string `protobuf:"bytes,1,opt,name=debug_request_id,json=debugRequestId,proto3" json:"debug_request_id,omitempty"` // for debug logging, // todo delete // contains filtered or unexported fields }
func (*ReadIndexRequest) CloneMessageVT ¶
func (m *ReadIndexRequest) CloneMessageVT() proto.Message
func (*ReadIndexRequest) CloneVT ¶
func (m *ReadIndexRequest) CloneVT() *ReadIndexRequest
func (*ReadIndexRequest) Descriptor
deprecated
func (*ReadIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadIndexRequest.ProtoReflect.Descriptor instead.
func (*ReadIndexRequest) EqualMessageVT ¶
func (this *ReadIndexRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*ReadIndexRequest) EqualVT ¶
func (this *ReadIndexRequest) EqualVT(that *ReadIndexRequest) bool
func (*ReadIndexRequest) GetDebugRequestId ¶
func (x *ReadIndexRequest) GetDebugRequestId() string
func (*ReadIndexRequest) MarshalToSizedBufferVT ¶
func (m *ReadIndexRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReadIndexRequest) MarshalToVT ¶
func (m *ReadIndexRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ReadIndexRequest) MarshalVT ¶
func (m *ReadIndexRequest) MarshalVT() (dAtA []byte, err error)
func (*ReadIndexRequest) ProtoMessage ¶
func (*ReadIndexRequest) ProtoMessage()
func (*ReadIndexRequest) ProtoReflect ¶
func (x *ReadIndexRequest) ProtoReflect() protoreflect.Message
func (*ReadIndexRequest) Reset ¶
func (x *ReadIndexRequest) Reset()
func (*ReadIndexRequest) SizeVT ¶
func (m *ReadIndexRequest) SizeVT() (n int)
func (*ReadIndexRequest) String ¶
func (x *ReadIndexRequest) String() string
func (*ReadIndexRequest) UnmarshalVT ¶
func (m *ReadIndexRequest) UnmarshalVT(dAtA []byte) error
type ReadIndexResponse ¶
type ReadIndexResponse struct { ReadIndex uint64 `protobuf:"varint,1,opt,name=read_index,json=readIndex,proto3" json:"read_index,omitempty"` // contains filtered or unexported fields }
func (*ReadIndexResponse) CloneMessageVT ¶
func (m *ReadIndexResponse) CloneMessageVT() proto.Message
func (*ReadIndexResponse) CloneVT ¶
func (m *ReadIndexResponse) CloneVT() *ReadIndexResponse
func (*ReadIndexResponse) Descriptor
deprecated
func (*ReadIndexResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadIndexResponse.ProtoReflect.Descriptor instead.
func (*ReadIndexResponse) EqualMessageVT ¶
func (this *ReadIndexResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*ReadIndexResponse) EqualVT ¶
func (this *ReadIndexResponse) EqualVT(that *ReadIndexResponse) bool
func (*ReadIndexResponse) GetReadIndex ¶
func (x *ReadIndexResponse) GetReadIndex() uint64
func (*ReadIndexResponse) MarshalToSizedBufferVT ¶
func (m *ReadIndexResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReadIndexResponse) MarshalToVT ¶
func (m *ReadIndexResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ReadIndexResponse) MarshalVT ¶
func (m *ReadIndexResponse) MarshalVT() (dAtA []byte, err error)
func (*ReadIndexResponse) ProtoMessage ¶
func (*ReadIndexResponse) ProtoMessage()
func (*ReadIndexResponse) ProtoReflect ¶
func (x *ReadIndexResponse) ProtoReflect() protoreflect.Message
func (*ReadIndexResponse) Reset ¶
func (x *ReadIndexResponse) Reset()
func (*ReadIndexResponse) SizeVT ¶
func (m *ReadIndexResponse) SizeVT() (n int)
func (*ReadIndexResponse) String ¶
func (x *ReadIndexResponse) String() string
func (*ReadIndexResponse) UnmarshalVT ¶
func (m *ReadIndexResponse) UnmarshalVT(dAtA []byte) error
type Snapshot ¶
type Snapshot struct { LastIndex uint64 `protobuf:"varint,1,opt,name=last_index,json=lastIndex,proto3" json:"last_index,omitempty"` LastTerm uint64 `protobuf:"varint,2,opt,name=last_term,json=lastTerm,proto3" json:"last_term,omitempty"` // contains filtered or unexported fields }
func (*Snapshot) CloneMessageVT ¶
func (*Snapshot) Descriptor
deprecated
func (*Snapshot) GetLastIndex ¶
func (*Snapshot) GetLastTerm ¶
func (*Snapshot) MarshalToSizedBufferVT ¶
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
func (*Snapshot) ProtoReflect ¶
func (x *Snapshot) ProtoReflect() protoreflect.Message
func (*Snapshot) UnmarshalVT ¶
type State ¶
type State int32
State values are chosen to match the Hashicorp Raft library states. See: https://github.com/hashicorp/raft/blob/42d34464b2d203e389e11ed6d43db698792c0604/state.go#L15-L27.
func (State) Descriptor ¶
func (State) Descriptor() protoreflect.EnumDescriptor
func (State) EnumDescriptor
deprecated
func (State) Number ¶
func (x State) Number() protoreflect.EnumNumber
func (State) Type ¶
func (State) Type() protoreflect.EnumType
type Suffrage ¶
type Suffrage int32
Suffrage values are chosen to match the Hashicorp Raft library suffrage values. See: https://github.com/hashicorp/raft/blob/42d34464b2d203e389e11ed6d43db698792c0604/configuration.go#L12-L24.
func (Suffrage) Descriptor ¶
func (Suffrage) Descriptor() protoreflect.EnumDescriptor
func (Suffrage) EnumDescriptor
deprecated
func (Suffrage) Number ¶
func (x Suffrage) Number() protoreflect.EnumNumber
func (Suffrage) Type ¶
func (Suffrage) Type() protoreflect.EnumType
type UnimplementedMetastoreServiceServer ¶
type UnimplementedMetastoreServiceServer struct { }
UnimplementedMetastoreServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMetastoreServiceServer) AddBlock ¶
func (UnimplementedMetastoreServiceServer) AddBlock(context.Context, *AddBlockRequest) (*AddBlockResponse, error)
func (UnimplementedMetastoreServiceServer) GetProfileStats ¶
func (UnimplementedMetastoreServiceServer) GetProfileStats(context.Context, *GetProfileStatsRequest) (*v1.GetProfileStatsResponse, error)
func (UnimplementedMetastoreServiceServer) QueryMetadata ¶
func (UnimplementedMetastoreServiceServer) QueryMetadata(context.Context, *QueryMetadataRequest) (*QueryMetadataResponse, error)
func (UnimplementedMetastoreServiceServer) ReadIndex ¶
func (UnimplementedMetastoreServiceServer) ReadIndex(context.Context, *ReadIndexRequest) (*ReadIndexResponse, error)
type UnimplementedOperatorServiceServer ¶
type UnimplementedOperatorServiceServer struct { }
UnimplementedOperatorServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOperatorServiceServer) Info ¶
func (UnimplementedOperatorServiceServer) Info(context.Context, *InfoRequest) (*InfoResponse, error)
type UnsafeMetastoreServiceServer ¶
type UnsafeMetastoreServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMetastoreServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetastoreServiceServer will result in compilation errors.
type UnsafeOperatorServiceServer ¶
type UnsafeOperatorServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOperatorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OperatorServiceServer will result in compilation errors.