Documentation ¶
Index ¶
- Variables
- type CmdMethod
- type CtlResult
- type GetCommitRequest
- func (*GetCommitRequest) Descriptor() ([]byte, []int)
- func (m *GetCommitRequest) Marshal() (dAtA []byte, err error)
- func (m *GetCommitRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetCommitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetCommitRequest) ProtoMessage()
- func (m *GetCommitRequest) Reset()
- func (m *GetCommitRequest) Size() (n int)
- func (m *GetCommitRequest) String() string
- func (m *GetCommitRequest) Unmarshal(dAtA []byte) error
- func (m *GetCommitRequest) XXX_DiscardUnknown()
- func (m *GetCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCommitRequest) XXX_Merge(src proto.Message)
- func (m *GetCommitRequest) XXX_Size() int
- func (m *GetCommitRequest) XXX_Unmarshal(b []byte) error
- type GetCommitResponse
- func (*GetCommitResponse) Descriptor() ([]byte, []int)
- func (m *GetCommitResponse) GetCurrentCommitTS() timestamp.Timestamp
- func (m *GetCommitResponse) Marshal() (dAtA []byte, err error)
- func (m *GetCommitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetCommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetCommitResponse) ProtoMessage()
- func (m *GetCommitResponse) Reset()
- func (m *GetCommitResponse) Size() (n int)
- func (m *GetCommitResponse) String() string
- func (m *GetCommitResponse) Unmarshal(dAtA []byte) error
- func (m *GetCommitResponse) XXX_DiscardUnknown()
- func (m *GetCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCommitResponse) XXX_Merge(src proto.Message)
- func (m *GetCommitResponse) XXX_Size() int
- func (m *GetCommitResponse) XXX_Unmarshal(b []byte) error
- type Request
- func (m *Request) DebugString() string
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetCMDMethod() CmdMethod
- func (m *Request) GetGetCommit() SyncCommitRequest
- func (m *Request) GetID() uint64
- func (m *Request) GetRequestID() uint64
- func (m *Request) GetSycnCommit() SyncCommitRequest
- func (m *Request) Marshal() (dAtA []byte, err error)
- func (m *Request) MarshalTo(dAtA []byte) (int, error)
- func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Request) Method() uint32
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) SetID(id uint64)
- func (m *Request) SetMethod(v uint32)
- func (m *Request) Size() (n int)
- func (m *Request) String() string
- func (m *Request) Unmarshal(dAtA []byte) error
- func (m *Request) UnwrapError() error
- func (m *Request) WrapError(err error)
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type Response
- func (m *Response) DebugString() string
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetCMDMethod() CmdMethod
- func (m *Response) GetError() []byte
- func (m *Response) GetGetCommit() GetCommitResponse
- func (m *Response) GetID() uint64
- func (m *Response) GetRequestID() uint64
- func (m *Response) GetSycnCommit() SyncCommitResponse
- func (m *Response) Marshal() (dAtA []byte, err error)
- func (m *Response) MarshalTo(dAtA []byte) (int, error)
- func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Response) Method() uint32
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) SetID(id uint64)
- func (m *Response) SetMethod(v uint32)
- func (m *Response) Size() (n int)
- func (m *Response) String() string
- func (m *Response) Unmarshal(dAtA []byte) error
- func (m *Response) UnwrapError() error
- func (m *Response) WrapError(err error)
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type SyncCommitRequest
- func (*SyncCommitRequest) Descriptor() ([]byte, []int)
- func (m *SyncCommitRequest) GetLatestCommitTS() timestamp.Timestamp
- func (m *SyncCommitRequest) Marshal() (dAtA []byte, err error)
- func (m *SyncCommitRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SyncCommitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SyncCommitRequest) ProtoMessage()
- func (m *SyncCommitRequest) Reset()
- func (m *SyncCommitRequest) Size() (n int)
- func (m *SyncCommitRequest) String() string
- func (m *SyncCommitRequest) Unmarshal(dAtA []byte) error
- func (m *SyncCommitRequest) XXX_DiscardUnknown()
- func (m *SyncCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncCommitRequest) XXX_Merge(src proto.Message)
- func (m *SyncCommitRequest) XXX_Size() int
- func (m *SyncCommitRequest) XXX_Unmarshal(b []byte) error
- type SyncCommitResponse
- func (*SyncCommitResponse) Descriptor() ([]byte, []int)
- func (m *SyncCommitResponse) GetCurrentCommitTS() timestamp.Timestamp
- func (m *SyncCommitResponse) Marshal() (dAtA []byte, err error)
- func (m *SyncCommitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SyncCommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SyncCommitResponse) ProtoMessage()
- func (m *SyncCommitResponse) Reset()
- func (m *SyncCommitResponse) Size() (n int)
- func (m *SyncCommitResponse) String() string
- func (m *SyncCommitResponse) Unmarshal(dAtA []byte) error
- func (m *SyncCommitResponse) XXX_DiscardUnknown()
- func (m *SyncCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncCommitResponse) XXX_Merge(src proto.Message)
- func (m *SyncCommitResponse) XXX_Size() int
- func (m *SyncCommitResponse) XXX_Unmarshal(b []byte) error
- type TNPingRequest
- func (*TNPingRequest) Descriptor() ([]byte, []int)
- func (m *TNPingRequest) GetParameter() string
- func (m *TNPingRequest) Marshal() (dAtA []byte, err error)
- func (m *TNPingRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TNPingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TNPingRequest) ProtoMessage()
- func (m *TNPingRequest) Reset()
- func (m *TNPingRequest) Size() (n int)
- func (m *TNPingRequest) String() string
- func (m *TNPingRequest) Unmarshal(dAtA []byte) error
- func (m *TNPingRequest) XXX_DiscardUnknown()
- func (m *TNPingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TNPingRequest) XXX_Merge(src proto.Message)
- func (m *TNPingRequest) XXX_Size() int
- func (m *TNPingRequest) XXX_Unmarshal(b []byte) error
- type TNPingResponse
- func (*TNPingResponse) Descriptor() ([]byte, []int)
- func (m *TNPingResponse) GetLogShardID() uint64
- func (m *TNPingResponse) GetReplicaID() uint64
- func (m *TNPingResponse) GetServiceAddress() string
- func (m *TNPingResponse) GetShardID() uint64
- func (m *TNPingResponse) GetStoreID() string
- func (m *TNPingResponse) Marshal() (dAtA []byte, err error)
- func (m *TNPingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TNPingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TNPingResponse) ProtoMessage()
- func (m *TNPingResponse) Reset()
- func (m *TNPingResponse) Size() (n int)
- func (m *TNPingResponse) String() string
- func (m *TNPingResponse) Unmarshal(dAtA []byte) error
- func (m *TNPingResponse) XXX_DiscardUnknown()
- func (m *TNPingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TNPingResponse) XXX_Merge(src proto.Message)
- func (m *TNPingResponse) XXX_Size() int
- func (m *TNPingResponse) XXX_Unmarshal(b []byte) error
- type TNStringResponse
- func (*TNStringResponse) Descriptor() ([]byte, []int)
- func (m *TNStringResponse) GetReturnStr() string
- func (m *TNStringResponse) Marshal() (dAtA []byte, err error)
- func (m *TNStringResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TNStringResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TNStringResponse) ProtoMessage()
- func (m *TNStringResponse) Reset()
- func (m *TNStringResponse) Size() (n int)
- func (m *TNStringResponse) String() string
- func (m *TNStringResponse) Unmarshal(dAtA []byte) error
- func (m *TNStringResponse) XXX_DiscardUnknown()
- func (m *TNStringResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TNStringResponse) XXX_Merge(src proto.Message)
- func (m *TNStringResponse) XXX_Size() int
- func (m *TNStringResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthCtl = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCtl = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCtl = fmt.Errorf("proto: unexpected end of group") )
View Source
var CmdMethod_name = map[int32]string{
0: "Ping",
1: "Flush",
2: "Task",
3: "Checkpoint",
4: "UseSnapshot",
5: "GetSnapshot",
6: "ForceGC",
7: "Inspect",
8: "Label",
9: "SyncCommit",
10: "GetCommit",
11: "AddFaultPoint",
12: "Backup",
13: "TraceSpan",
}
View Source
var CmdMethod_value = map[string]int32{
"Ping": 0,
"Flush": 1,
"Task": 2,
"Checkpoint": 3,
"UseSnapshot": 4,
"GetSnapshot": 5,
"ForceGC": 6,
"Inspect": 7,
"Label": 8,
"SyncCommit": 9,
"GetCommit": 10,
"AddFaultPoint": 11,
"Backup": 12,
"TraceSpan": 13,
}
Functions ¶
This section is empty.
Types ¶
type CmdMethod ¶
type CmdMethod int32
CmdMethod debug command method
const ( // Ping ping the service. CmdMethod_Ping CmdMethod = 0 // Flush is to force flush the table data. // parameter should be "DbName.TableName" CmdMethod_Flush CmdMethod = 1 // Task disable or enable task framework CmdMethod_Task CmdMethod = 2 // Checkpoint is to force incremental checkpoint. CmdMethod_Checkpoint CmdMethod = 3 // UseSnapshot use a spec snapshot timestamp, and all txn will use this ts as snapshot timestamp CmdMethod_UseSnapshot CmdMethod = 4 // GetSnapshot get current snapshot timestamp CmdMethod_GetSnapshot CmdMethod = 5 // ForceGC forcing a GC to free memory CmdMethod_ForceGC CmdMethod = 6 // Inspect TN info CmdMethod_Inspect CmdMethod = 7 // Label sets the CN label. CmdMethod_Label CmdMethod = 8 // SyncCommit when we turn on Push, some BVT tests use multiple Sessions in multi-CN scenarios. To // ensure data visibility, we need to synchronize CommitTS between multiple CNs so that the whole // cluster can see the latest writes from other CNs. CmdMethod_SyncCommit CmdMethod = 9 // GetCommit get latest commit timestamp of cn. CmdMethod_GetCommit CmdMethod = 10 // AddFaultPoint add a fault point CmdMethod_AddFaultPoint CmdMethod = 11 // Backup backup data CmdMethod_Backup CmdMethod = 12 // Enable or disable specified span CmdMethod_TraceSpan CmdMethod = 13 )
func (CmdMethod) EnumDescriptor ¶
type CtlResult ¶
type CtlResult struct { Method string `json:"method"` Data interface{} `json:"result"` }
CtlResult ctl result
type GetCommitRequest ¶ added in v0.8.0
type GetCommitRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetCommitRequest get commit timestamp request
func (*GetCommitRequest) Descriptor ¶ added in v0.8.0
func (*GetCommitRequest) Descriptor() ([]byte, []int)
func (*GetCommitRequest) Marshal ¶ added in v0.8.0
func (m *GetCommitRequest) Marshal() (dAtA []byte, err error)
func (*GetCommitRequest) MarshalTo ¶ added in v0.8.0
func (m *GetCommitRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetCommitRequest) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *GetCommitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetCommitRequest) ProtoMessage ¶ added in v0.8.0
func (*GetCommitRequest) ProtoMessage()
func (*GetCommitRequest) Reset ¶ added in v0.8.0
func (m *GetCommitRequest) Reset()
func (*GetCommitRequest) Size ¶ added in v0.8.0
func (m *GetCommitRequest) Size() (n int)
func (*GetCommitRequest) String ¶ added in v0.8.0
func (m *GetCommitRequest) String() string
func (*GetCommitRequest) Unmarshal ¶ added in v0.8.0
func (m *GetCommitRequest) Unmarshal(dAtA []byte) error
func (*GetCommitRequest) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *GetCommitRequest) XXX_DiscardUnknown()
func (*GetCommitRequest) XXX_Marshal ¶ added in v0.8.0
func (m *GetCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCommitRequest) XXX_Merge ¶ added in v0.8.0
func (m *GetCommitRequest) XXX_Merge(src proto.Message)
func (*GetCommitRequest) XXX_Size ¶ added in v0.8.0
func (m *GetCommitRequest) XXX_Size() int
func (*GetCommitRequest) XXX_Unmarshal ¶ added in v0.8.0
func (m *GetCommitRequest) XXX_Unmarshal(b []byte) error
type GetCommitResponse ¶ added in v0.8.0
type GetCommitResponse struct { // CurrentCommitTS current commit timestamp after sync CurrentCommitTS timestamp.Timestamp `protobuf:"bytes,1,opt,name=CurrentCommitTS,proto3" json:"CurrentCommitTS"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetCommitResponse get commit timestamp response
func (*GetCommitResponse) Descriptor ¶ added in v0.8.0
func (*GetCommitResponse) Descriptor() ([]byte, []int)
func (*GetCommitResponse) GetCurrentCommitTS ¶ added in v0.8.0
func (m *GetCommitResponse) GetCurrentCommitTS() timestamp.Timestamp
func (*GetCommitResponse) Marshal ¶ added in v0.8.0
func (m *GetCommitResponse) Marshal() (dAtA []byte, err error)
func (*GetCommitResponse) MarshalTo ¶ added in v0.8.0
func (m *GetCommitResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetCommitResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *GetCommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetCommitResponse) ProtoMessage ¶ added in v0.8.0
func (*GetCommitResponse) ProtoMessage()
func (*GetCommitResponse) Reset ¶ added in v0.8.0
func (m *GetCommitResponse) Reset()
func (*GetCommitResponse) Size ¶ added in v0.8.0
func (m *GetCommitResponse) Size() (n int)
func (*GetCommitResponse) String ¶ added in v0.8.0
func (m *GetCommitResponse) String() string
func (*GetCommitResponse) Unmarshal ¶ added in v0.8.0
func (m *GetCommitResponse) Unmarshal(dAtA []byte) error
func (*GetCommitResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *GetCommitResponse) XXX_DiscardUnknown()
func (*GetCommitResponse) XXX_Marshal ¶ added in v0.8.0
func (m *GetCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCommitResponse) XXX_Merge ¶ added in v0.8.0
func (m *GetCommitResponse) XXX_Merge(src proto.Message)
func (*GetCommitResponse) XXX_Size ¶ added in v0.8.0
func (m *GetCommitResponse) XXX_Size() int
func (*GetCommitResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *GetCommitResponse) XXX_Unmarshal(b []byte) error
type Request ¶ added in v0.8.0
type Request struct { // RequestID request id RequestID uint64 `protobuf:"varint,1,opt,name=RequestID,proto3" json:"RequestID,omitempty"` CMDMethod CmdMethod `protobuf:"varint,2,opt,name=CMDMethod,proto3,enum=ctl.CmdMethod" json:"CMDMethod,omitempty"` SycnCommit SyncCommitRequest `protobuf:"bytes,3,opt,name=SycnCommit,proto3" json:"SycnCommit"` GetCommit SyncCommitRequest `protobuf:"bytes,4,opt,name=GetCommit,proto3" json:"GetCommit"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request is used to send a request for a ctl service related operation to another ctl service.
func (*Request) DebugString ¶ added in v0.8.0
DebugString returns the debug string
func (*Request) Descriptor ¶ added in v0.8.0
func (*Request) GetCMDMethod ¶ added in v0.8.0
func (*Request) GetGetCommit ¶ added in v0.8.0
func (m *Request) GetGetCommit() SyncCommitRequest
func (*Request) GetRequestID ¶ added in v0.8.0
func (*Request) GetSycnCommit ¶ added in v0.8.0
func (m *Request) GetSycnCommit() SyncCommitRequest
func (*Request) MarshalToSizedBuffer ¶ added in v0.8.0
func (*Request) ProtoMessage ¶ added in v0.8.0
func (*Request) ProtoMessage()
func (*Request) UnwrapError ¶ added in v0.8.0
func (*Request) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶ added in v0.8.0
func (*Request) XXX_Unmarshal ¶ added in v0.8.0
type Response ¶ added in v0.8.0
type Response struct { // RequestID corresponding request id RequestID uint64 `protobuf:"varint,1,opt,name=RequestID,proto3" json:"RequestID,omitempty"` CMDMethod CmdMethod `protobuf:"varint,2,opt,name=CMDMethod,proto3,enum=ctl.CmdMethod" json:"CMDMethod,omitempty"` // Error we use this field to send moerr from service to another service. Set // with moerr.MarshalBinary, and use moerr.UnmarshalBinary to restore moerr. Error []byte `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` SycnCommit SyncCommitResponse `protobuf:"bytes,4,opt,name=SycnCommit,proto3" json:"SycnCommit"` GetCommit GetCommitResponse `protobuf:"bytes,5,opt,name=GetCommit,proto3" json:"GetCommit"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response ctl response
func (*Response) DebugString ¶ added in v0.8.0
DebugString returns the debug string
func (*Response) Descriptor ¶ added in v0.8.0
func (*Response) GetCMDMethod ¶ added in v0.8.0
func (*Response) GetGetCommit ¶ added in v0.8.0
func (m *Response) GetGetCommit() GetCommitResponse
func (*Response) GetRequestID ¶ added in v0.8.0
func (*Response) GetSycnCommit ¶ added in v0.8.0
func (m *Response) GetSycnCommit() SyncCommitResponse
func (*Response) MarshalToSizedBuffer ¶ added in v0.8.0
func (*Response) ProtoMessage ¶ added in v0.8.0
func (*Response) ProtoMessage()
func (*Response) UnwrapError ¶ added in v0.8.0
UnwrapError unwrap the moerr from the error bytes
func (*Response) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶ added in v0.8.0
func (*Response) XXX_Unmarshal ¶ added in v0.8.0
type SyncCommitRequest ¶ added in v0.8.0
type SyncCommitRequest struct { // LatestCommitTS update latest commit ts. LatestCommitTS timestamp.Timestamp `protobuf:"bytes,1,opt,name=LatestCommitTS,proto3" json:"LatestCommitTS"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SyncCommitRequest sync commit timestamp request
func (*SyncCommitRequest) Descriptor ¶ added in v0.8.0
func (*SyncCommitRequest) Descriptor() ([]byte, []int)
func (*SyncCommitRequest) GetLatestCommitTS ¶ added in v0.8.0
func (m *SyncCommitRequest) GetLatestCommitTS() timestamp.Timestamp
func (*SyncCommitRequest) Marshal ¶ added in v0.8.0
func (m *SyncCommitRequest) Marshal() (dAtA []byte, err error)
func (*SyncCommitRequest) MarshalTo ¶ added in v0.8.0
func (m *SyncCommitRequest) MarshalTo(dAtA []byte) (int, error)
func (*SyncCommitRequest) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *SyncCommitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncCommitRequest) ProtoMessage ¶ added in v0.8.0
func (*SyncCommitRequest) ProtoMessage()
func (*SyncCommitRequest) Reset ¶ added in v0.8.0
func (m *SyncCommitRequest) Reset()
func (*SyncCommitRequest) Size ¶ added in v0.8.0
func (m *SyncCommitRequest) Size() (n int)
func (*SyncCommitRequest) String ¶ added in v0.8.0
func (m *SyncCommitRequest) String() string
func (*SyncCommitRequest) Unmarshal ¶ added in v0.8.0
func (m *SyncCommitRequest) Unmarshal(dAtA []byte) error
func (*SyncCommitRequest) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *SyncCommitRequest) XXX_DiscardUnknown()
func (*SyncCommitRequest) XXX_Marshal ¶ added in v0.8.0
func (m *SyncCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncCommitRequest) XXX_Merge ¶ added in v0.8.0
func (m *SyncCommitRequest) XXX_Merge(src proto.Message)
func (*SyncCommitRequest) XXX_Size ¶ added in v0.8.0
func (m *SyncCommitRequest) XXX_Size() int
func (*SyncCommitRequest) XXX_Unmarshal ¶ added in v0.8.0
func (m *SyncCommitRequest) XXX_Unmarshal(b []byte) error
type SyncCommitResponse ¶ added in v0.8.0
type SyncCommitResponse struct { // CurrentCommitTS current commit timestamp after sync CurrentCommitTS timestamp.Timestamp `protobuf:"bytes,1,opt,name=CurrentCommitTS,proto3" json:"CurrentCommitTS"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SyncCommitResponse sync commit timestamp response
func (*SyncCommitResponse) Descriptor ¶ added in v0.8.0
func (*SyncCommitResponse) Descriptor() ([]byte, []int)
func (*SyncCommitResponse) GetCurrentCommitTS ¶ added in v0.8.0
func (m *SyncCommitResponse) GetCurrentCommitTS() timestamp.Timestamp
func (*SyncCommitResponse) Marshal ¶ added in v0.8.0
func (m *SyncCommitResponse) Marshal() (dAtA []byte, err error)
func (*SyncCommitResponse) MarshalTo ¶ added in v0.8.0
func (m *SyncCommitResponse) MarshalTo(dAtA []byte) (int, error)
func (*SyncCommitResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *SyncCommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncCommitResponse) ProtoMessage ¶ added in v0.8.0
func (*SyncCommitResponse) ProtoMessage()
func (*SyncCommitResponse) Reset ¶ added in v0.8.0
func (m *SyncCommitResponse) Reset()
func (*SyncCommitResponse) Size ¶ added in v0.8.0
func (m *SyncCommitResponse) Size() (n int)
func (*SyncCommitResponse) String ¶ added in v0.8.0
func (m *SyncCommitResponse) String() string
func (*SyncCommitResponse) Unmarshal ¶ added in v0.8.0
func (m *SyncCommitResponse) Unmarshal(dAtA []byte) error
func (*SyncCommitResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *SyncCommitResponse) XXX_DiscardUnknown()
func (*SyncCommitResponse) XXX_Marshal ¶ added in v0.8.0
func (m *SyncCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncCommitResponse) XXX_Merge ¶ added in v0.8.0
func (m *SyncCommitResponse) XXX_Merge(src proto.Message)
func (*SyncCommitResponse) XXX_Size ¶ added in v0.8.0
func (m *SyncCommitResponse) XXX_Size() int
func (*SyncCommitResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *SyncCommitResponse) XXX_Unmarshal(b []byte) error
type TNPingRequest ¶ added in v1.0.0
type TNPingRequest struct { Parameter string `protobuf:"bytes,1,opt,name=parameter,proto3" json:"parameter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TNPingRequest ping request
func (*TNPingRequest) Descriptor ¶ added in v1.0.0
func (*TNPingRequest) Descriptor() ([]byte, []int)
func (*TNPingRequest) GetParameter ¶ added in v1.0.0
func (m *TNPingRequest) GetParameter() string
func (*TNPingRequest) Marshal ¶ added in v1.0.0
func (m *TNPingRequest) Marshal() (dAtA []byte, err error)
func (*TNPingRequest) MarshalTo ¶ added in v1.0.0
func (m *TNPingRequest) MarshalTo(dAtA []byte) (int, error)
func (*TNPingRequest) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *TNPingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TNPingRequest) ProtoMessage ¶ added in v1.0.0
func (*TNPingRequest) ProtoMessage()
func (*TNPingRequest) Reset ¶ added in v1.0.0
func (m *TNPingRequest) Reset()
func (*TNPingRequest) Size ¶ added in v1.0.0
func (m *TNPingRequest) Size() (n int)
func (*TNPingRequest) String ¶ added in v1.0.0
func (m *TNPingRequest) String() string
func (*TNPingRequest) Unmarshal ¶ added in v1.0.0
func (m *TNPingRequest) Unmarshal(dAtA []byte) error
func (*TNPingRequest) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *TNPingRequest) XXX_DiscardUnknown()
func (*TNPingRequest) XXX_Marshal ¶ added in v1.0.0
func (m *TNPingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TNPingRequest) XXX_Merge ¶ added in v1.0.0
func (m *TNPingRequest) XXX_Merge(src proto.Message)
func (*TNPingRequest) XXX_Size ¶ added in v1.0.0
func (m *TNPingRequest) XXX_Size() int
func (*TNPingRequest) XXX_Unmarshal ¶ added in v1.0.0
func (m *TNPingRequest) XXX_Unmarshal(b []byte) error
type TNPingResponse ¶ added in v1.0.0
type TNPingResponse struct { StoreID string `protobuf:"bytes,1,opt,name=storeID,proto3" json:"storeID,omitempty"` ServiceAddress string `protobuf:"bytes,2,opt,name=serviceAddress,proto3" json:"serviceAddress,omitempty"` ShardID uint64 `protobuf:"varint,3,opt,name=shardID,proto3" json:"shardID,omitempty"` ReplicaID uint64 `protobuf:"varint,4,opt,name=replicaID,proto3" json:"replicaID,omitempty"` LogShardID uint64 `protobuf:"varint,5,opt,name=logShardID,proto3" json:"logShardID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TNPingResponse ping response
func (*TNPingResponse) Descriptor ¶ added in v1.0.0
func (*TNPingResponse) Descriptor() ([]byte, []int)
func (*TNPingResponse) GetLogShardID ¶ added in v1.0.0
func (m *TNPingResponse) GetLogShardID() uint64
func (*TNPingResponse) GetReplicaID ¶ added in v1.0.0
func (m *TNPingResponse) GetReplicaID() uint64
func (*TNPingResponse) GetServiceAddress ¶ added in v1.0.0
func (m *TNPingResponse) GetServiceAddress() string
func (*TNPingResponse) GetShardID ¶ added in v1.0.0
func (m *TNPingResponse) GetShardID() uint64
func (*TNPingResponse) GetStoreID ¶ added in v1.0.0
func (m *TNPingResponse) GetStoreID() string
func (*TNPingResponse) Marshal ¶ added in v1.0.0
func (m *TNPingResponse) Marshal() (dAtA []byte, err error)
func (*TNPingResponse) MarshalTo ¶ added in v1.0.0
func (m *TNPingResponse) MarshalTo(dAtA []byte) (int, error)
func (*TNPingResponse) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *TNPingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TNPingResponse) ProtoMessage ¶ added in v1.0.0
func (*TNPingResponse) ProtoMessage()
func (*TNPingResponse) Reset ¶ added in v1.0.0
func (m *TNPingResponse) Reset()
func (*TNPingResponse) Size ¶ added in v1.0.0
func (m *TNPingResponse) Size() (n int)
func (*TNPingResponse) String ¶ added in v1.0.0
func (m *TNPingResponse) String() string
func (*TNPingResponse) Unmarshal ¶ added in v1.0.0
func (m *TNPingResponse) Unmarshal(dAtA []byte) error
func (*TNPingResponse) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *TNPingResponse) XXX_DiscardUnknown()
func (*TNPingResponse) XXX_Marshal ¶ added in v1.0.0
func (m *TNPingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TNPingResponse) XXX_Merge ¶ added in v1.0.0
func (m *TNPingResponse) XXX_Merge(src proto.Message)
func (*TNPingResponse) XXX_Size ¶ added in v1.0.0
func (m *TNPingResponse) XXX_Size() int
func (*TNPingResponse) XXX_Unmarshal ¶ added in v1.0.0
func (m *TNPingResponse) XXX_Unmarshal(b []byte) error
type TNStringResponse ¶ added in v1.0.0
type TNStringResponse struct { ReturnStr string `protobuf:"bytes,1,opt,name=returnStr,proto3" json:"returnStr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TNStringResponse string type response
func (*TNStringResponse) Descriptor ¶ added in v1.0.0
func (*TNStringResponse) Descriptor() ([]byte, []int)
func (*TNStringResponse) GetReturnStr ¶ added in v1.0.0
func (m *TNStringResponse) GetReturnStr() string
func (*TNStringResponse) Marshal ¶ added in v1.0.0
func (m *TNStringResponse) Marshal() (dAtA []byte, err error)
func (*TNStringResponse) MarshalTo ¶ added in v1.0.0
func (m *TNStringResponse) MarshalTo(dAtA []byte) (int, error)
func (*TNStringResponse) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *TNStringResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TNStringResponse) ProtoMessage ¶ added in v1.0.0
func (*TNStringResponse) ProtoMessage()
func (*TNStringResponse) Reset ¶ added in v1.0.0
func (m *TNStringResponse) Reset()
func (*TNStringResponse) Size ¶ added in v1.0.0
func (m *TNStringResponse) Size() (n int)
func (*TNStringResponse) String ¶ added in v1.0.0
func (m *TNStringResponse) String() string
func (*TNStringResponse) Unmarshal ¶ added in v1.0.0
func (m *TNStringResponse) Unmarshal(dAtA []byte) error
func (*TNStringResponse) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *TNStringResponse) XXX_DiscardUnknown()
func (*TNStringResponse) XXX_Marshal ¶ added in v1.0.0
func (m *TNStringResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TNStringResponse) XXX_Merge ¶ added in v1.0.0
func (m *TNStringResponse) XXX_Merge(src proto.Message)
func (*TNStringResponse) XXX_Size ¶ added in v1.0.0
func (m *TNStringResponse) XXX_Size() int
func (*TNStringResponse) XXX_Unmarshal ¶ added in v1.0.0
func (m *TNStringResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.