Documentation ¶
Index ¶
- Variables
- type Member
- func (*Member) Descriptor() ([]byte, []int)deprecated
- func (x *Member) GetEndpoint() string
- func (x *Member) GetId() uint64
- func (x *Member) GetLeaderPriority() int32
- func (x *Member) GetName() string
- func (*Member) ProtoMessage()
- func (x *Member) ProtoReflect() protoreflect.Message
- func (x *Member) Reset()
- func (x *Member) String() string
- type ProcedureInfo
- func (*ProcedureInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProcedureInfo) GetExtendedInfo() []byte
- func (x *ProcedureInfo) GetId() uint64
- func (x *ProcedureInfo) GetState() ProcedureInfo_State
- func (x *ProcedureInfo) GetTyp() ProcedureInfo_Typ
- func (*ProcedureInfo) ProtoMessage()
- func (x *ProcedureInfo) ProtoReflect() protoreflect.Message
- func (x *ProcedureInfo) Reset()
- func (x *ProcedureInfo) String() string
- type ProcedureInfo_State
- func (ProcedureInfo_State) Descriptor() protoreflect.EnumDescriptor
- func (x ProcedureInfo_State) Enum() *ProcedureInfo_State
- func (ProcedureInfo_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProcedureInfo_State) Number() protoreflect.EnumNumber
- func (x ProcedureInfo_State) String() string
- func (ProcedureInfo_State) Type() protoreflect.EnumType
- type ProcedureInfo_Typ
- func (ProcedureInfo_Typ) Descriptor() protoreflect.EnumDescriptor
- func (x ProcedureInfo_Typ) Enum() *ProcedureInfo_Typ
- func (ProcedureInfo_Typ) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProcedureInfo_Typ) Number() protoreflect.EnumNumber
- func (x ProcedureInfo_Typ) String() string
- func (ProcedureInfo_Typ) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ProcedureInfo_State_name = map[int32]string{ 0: "STATE_INIT", 1: "STATE_RUNNING", 2: "STATE_FINISHED", 3: "STATE_FAILED", 4: "STATE_CANCELED", } ProcedureInfo_State_value = map[string]int32{ "STATE_INIT": 0, "STATE_RUNNING": 1, "STATE_FINISHED": 2, "STATE_FAILED": 3, "STATE_CANCELED": 4, } )
Enum value maps for ProcedureInfo_State.
View Source
var ( ProcedureInfo_Typ_name = map[int32]string{ 0: "CREATE", 1: "DELETE", 2: "TRANSFER_LEADER", 3: "MIGRATE", 4: "SPLIT", 5: "MERGE", 6: "SCATTER", } ProcedureInfo_Typ_value = map[string]int32{ "CREATE": 0, "DELETE": 1, "TRANSFER_LEADER": 2, "MIGRATE": 3, "SPLIT": 4, "MERGE": 5, "SCATTER": 6, } )
Enum value maps for ProcedureInfo_Typ.
View Source
var File_meta_storage_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Member ¶
type Member struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` LeaderPriority int32 `protobuf:"varint,4,opt,name=leader_priority,json=leaderPriority,proto3" json:"leader_priority,omitempty"` // contains filtered or unexported fields }
func (*Member) Descriptor
deprecated
func (*Member) GetEndpoint ¶
func (*Member) GetLeaderPriority ¶
func (*Member) ProtoMessage ¶
func (*Member) ProtoMessage()
func (*Member) ProtoReflect ¶
func (x *Member) ProtoReflect() protoreflect.Message
type ProcedureInfo ¶
type ProcedureInfo struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Typ ProcedureInfo_Typ `protobuf:"varint,2,opt,name=typ,proto3,enum=meta_storage.ProcedureInfo_Typ" json:"typ,omitempty"` State ProcedureInfo_State `protobuf:"varint,3,opt,name=state,proto3,enum=meta_storage.ProcedureInfo_State" json:"state,omitempty"` ExtendedInfo []byte `protobuf:"bytes,4,opt,name=extended_info,json=extendedInfo,proto3" json:"extended_info,omitempty"` // contains filtered or unexported fields }
func (*ProcedureInfo) Descriptor
deprecated
func (*ProcedureInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProcedureInfo.ProtoReflect.Descriptor instead.
func (*ProcedureInfo) GetExtendedInfo ¶
func (x *ProcedureInfo) GetExtendedInfo() []byte
func (*ProcedureInfo) GetId ¶
func (x *ProcedureInfo) GetId() uint64
func (*ProcedureInfo) GetState ¶
func (x *ProcedureInfo) GetState() ProcedureInfo_State
func (*ProcedureInfo) GetTyp ¶
func (x *ProcedureInfo) GetTyp() ProcedureInfo_Typ
func (*ProcedureInfo) ProtoMessage ¶
func (*ProcedureInfo) ProtoMessage()
func (*ProcedureInfo) ProtoReflect ¶
func (x *ProcedureInfo) ProtoReflect() protoreflect.Message
func (*ProcedureInfo) Reset ¶
func (x *ProcedureInfo) Reset()
func (*ProcedureInfo) String ¶
func (x *ProcedureInfo) String() string
type ProcedureInfo_State ¶
type ProcedureInfo_State int32
const ( ProcedureInfo_STATE_INIT ProcedureInfo_State = 0 ProcedureInfo_STATE_RUNNING ProcedureInfo_State = 1 ProcedureInfo_STATE_FINISHED ProcedureInfo_State = 2 ProcedureInfo_STATE_FAILED ProcedureInfo_State = 3 ProcedureInfo_STATE_CANCELED ProcedureInfo_State = 4 )
func (ProcedureInfo_State) Descriptor ¶
func (ProcedureInfo_State) Descriptor() protoreflect.EnumDescriptor
func (ProcedureInfo_State) Enum ¶
func (x ProcedureInfo_State) Enum() *ProcedureInfo_State
func (ProcedureInfo_State) EnumDescriptor
deprecated
func (ProcedureInfo_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProcedureInfo_State.Descriptor instead.
func (ProcedureInfo_State) Number ¶
func (x ProcedureInfo_State) Number() protoreflect.EnumNumber
func (ProcedureInfo_State) String ¶
func (x ProcedureInfo_State) String() string
func (ProcedureInfo_State) Type ¶
func (ProcedureInfo_State) Type() protoreflect.EnumType
type ProcedureInfo_Typ ¶
type ProcedureInfo_Typ int32
const ( ProcedureInfo_CREATE ProcedureInfo_Typ = 0 ProcedureInfo_DELETE ProcedureInfo_Typ = 1 ProcedureInfo_TRANSFER_LEADER ProcedureInfo_Typ = 2 ProcedureInfo_MIGRATE ProcedureInfo_Typ = 3 ProcedureInfo_SPLIT ProcedureInfo_Typ = 4 ProcedureInfo_MERGE ProcedureInfo_Typ = 5 ProcedureInfo_SCATTER ProcedureInfo_Typ = 6 )
func (ProcedureInfo_Typ) Descriptor ¶
func (ProcedureInfo_Typ) Descriptor() protoreflect.EnumDescriptor
func (ProcedureInfo_Typ) Enum ¶
func (x ProcedureInfo_Typ) Enum() *ProcedureInfo_Typ
func (ProcedureInfo_Typ) EnumDescriptor
deprecated
func (ProcedureInfo_Typ) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProcedureInfo_Typ.Descriptor instead.
func (ProcedureInfo_Typ) Number ¶
func (x ProcedureInfo_Typ) Number() protoreflect.EnumNumber
func (ProcedureInfo_Typ) String ¶
func (x ProcedureInfo_Typ) String() string
func (ProcedureInfo_Typ) Type ¶
func (ProcedureInfo_Typ) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.