Documentation ¶
Index ¶
- Variables
- type SnapshotMeta
- func (*SnapshotMeta) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotMeta) GetConfiguration() *pb.Configuration
- func (x *SnapshotMeta) GetConfigurationIndex() uint64
- func (x *SnapshotMeta) GetCrc64() uint64
- func (x *SnapshotMeta) GetId() string
- func (x *SnapshotMeta) GetIndex() uint64
- func (x *SnapshotMeta) GetSize() uint64
- func (x *SnapshotMeta) GetTerm() uint64
- func (m *SnapshotMeta) MarshalLogObject(e zapcore.ObjectEncoder) error
- func (*SnapshotMeta) ProtoMessage()
- func (x *SnapshotMeta) ProtoReflect() protoreflect.Message
- func (x *SnapshotMeta) Reset()
- func (x *SnapshotMeta) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_snapshot_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SnapshotMeta ¶
type SnapshotMeta struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Term uint64 `protobuf:"varint,2,opt,name=term,proto3" json:"term,omitempty"` Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` Configuration *pb.Configuration `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` ConfigurationIndex uint64 `protobuf:"varint,5,opt,name=configuration_index,json=configurationIndex,proto3" json:"configuration_index,omitempty"` Size uint64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` Crc64 uint64 `protobuf:"varint,7,opt,name=crc64,proto3" json:"crc64,omitempty"` // contains filtered or unexported fields }
func (*SnapshotMeta) Descriptor
deprecated
func (*SnapshotMeta) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotMeta.ProtoReflect.Descriptor instead.
func (*SnapshotMeta) GetConfiguration ¶
func (x *SnapshotMeta) GetConfiguration() *pb.Configuration
func (*SnapshotMeta) GetConfigurationIndex ¶
func (x *SnapshotMeta) GetConfigurationIndex() uint64
func (*SnapshotMeta) GetCrc64 ¶
func (x *SnapshotMeta) GetCrc64() uint64
func (*SnapshotMeta) GetId ¶
func (x *SnapshotMeta) GetId() string
func (*SnapshotMeta) GetIndex ¶
func (x *SnapshotMeta) GetIndex() uint64
func (*SnapshotMeta) GetSize ¶
func (x *SnapshotMeta) GetSize() uint64
func (*SnapshotMeta) GetTerm ¶
func (x *SnapshotMeta) GetTerm() uint64
func (*SnapshotMeta) MarshalLogObject ¶
func (m *SnapshotMeta) MarshalLogObject(e zapcore.ObjectEncoder) error
func (*SnapshotMeta) ProtoMessage ¶
func (*SnapshotMeta) ProtoMessage()
func (*SnapshotMeta) ProtoReflect ¶
func (x *SnapshotMeta) ProtoReflect() protoreflect.Message
func (*SnapshotMeta) Reset ¶
func (x *SnapshotMeta) Reset()
func (*SnapshotMeta) String ¶
func (x *SnapshotMeta) String() string
Click to show internal directories.
Click to hide internal directories.