Documentation ¶
Index ¶
- Variables
- type Checkpoint
- func (*Checkpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Checkpoint) GetEpoch() uint64
- func (x *Checkpoint) GetSignature() []byte
- func (x *Checkpoint) GetSn() uint64
- func (x *Checkpoint) GetSnapshotHash() []byte
- func (*Checkpoint) ProtoMessage()
- func (x *Checkpoint) ProtoReflect() protoreflect.Message
- func (x *Checkpoint) Reset()
- func (x *Checkpoint) String() string
- type EpochProgress
- func (*EpochProgress) Descriptor() ([]byte, []int)deprecated
- func (x *EpochProgress) GetEpoch() uint64
- func (x *EpochProgress) GetNodeId() string
- func (*EpochProgress) ProtoMessage()
- func (x *EpochProgress) ProtoReflect() protoreflect.Message
- func (x *EpochProgress) Reset()
- func (x *EpochProgress) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetEpochConfig() *commonpb.EpochConfig
- func (x *Event) GetEpochProgress() *EpochProgress
- func (x *Event) GetStableCheckpoint() *StableCheckpoint
- func (m *Event) GetType() isEvent_Type
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_EpochConfig
- type Event_EpochProgress
- type Event_StableCheckpoint
- type HashOrigin
- type InstanceParams
- func (*InstanceParams) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceParams) GetEpoch() uint64
- func (x *InstanceParams) GetNodeIds() []string
- func (x *InstanceParams) GetResendPeriod() uint64
- func (x *InstanceParams) GetSeqNr() uint64
- func (*InstanceParams) ProtoMessage()
- func (x *InstanceParams) ProtoReflect() protoreflect.Message
- func (x *InstanceParams) Reset()
- func (x *InstanceParams) String() string
- type Message
- type Message_Checkpoint
- type SigVerOrigin
- type SignOrigin
- type StableCheckpoint
- func (*StableCheckpoint) Descriptor() ([]byte, []int)deprecated
- func (x *StableCheckpoint) GetCert() map[string][]byte
- func (x *StableCheckpoint) GetSn() uint64
- func (x *StableCheckpoint) GetSnapshot() *commonpb.StateSnapshot
- func (*StableCheckpoint) ProtoMessage()
- func (x *StableCheckpoint) ProtoReflect() protoreflect.Message
- func (x *StableCheckpoint) Reset()
- func (x *StableCheckpoint) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_checkpointpb_checkpointpb_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Checkpoint ¶
type Checkpoint struct { Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` Sn uint64 `protobuf:"varint,2,opt,name=sn,proto3" json:"sn,omitempty"` SnapshotHash []byte `protobuf:"bytes,3,opt,name=snapshotHash,proto3" json:"snapshotHash,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*Checkpoint) Descriptor
deprecated
func (*Checkpoint) Descriptor() ([]byte, []int)
Deprecated: Use Checkpoint.ProtoReflect.Descriptor instead.
func (*Checkpoint) GetEpoch ¶
func (x *Checkpoint) GetEpoch() uint64
func (*Checkpoint) GetSignature ¶
func (x *Checkpoint) GetSignature() []byte
func (*Checkpoint) GetSn ¶
func (x *Checkpoint) GetSn() uint64
func (*Checkpoint) GetSnapshotHash ¶
func (x *Checkpoint) GetSnapshotHash() []byte
func (*Checkpoint) ProtoMessage ¶
func (*Checkpoint) ProtoMessage()
func (*Checkpoint) ProtoReflect ¶
func (x *Checkpoint) ProtoReflect() protoreflect.Message
func (*Checkpoint) Reset ¶
func (x *Checkpoint) Reset()
func (*Checkpoint) String ¶
func (x *Checkpoint) String() string
type EpochProgress ¶
type EpochProgress struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` Epoch uint64 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"` // contains filtered or unexported fields }
func (*EpochProgress) Descriptor
deprecated
func (*EpochProgress) Descriptor() ([]byte, []int)
Deprecated: Use EpochProgress.ProtoReflect.Descriptor instead.
func (*EpochProgress) GetEpoch ¶
func (x *EpochProgress) GetEpoch() uint64
func (*EpochProgress) GetNodeId ¶
func (x *EpochProgress) GetNodeId() string
func (*EpochProgress) ProtoMessage ¶
func (*EpochProgress) ProtoMessage()
func (*EpochProgress) ProtoReflect ¶
func (x *EpochProgress) ProtoReflect() protoreflect.Message
func (*EpochProgress) Reset ¶
func (x *EpochProgress) Reset()
func (*EpochProgress) String ¶
func (x *EpochProgress) String() string
type Event ¶
type Event struct { // Types that are assignable to Type: // *Event_EpochConfig // *Event_StableCheckpoint // *Event_EpochProgress Type isEvent_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetEpochConfig ¶
func (x *Event) GetEpochConfig() *commonpb.EpochConfig
func (*Event) GetEpochProgress ¶
func (x *Event) GetEpochProgress() *EpochProgress
func (*Event) GetStableCheckpoint ¶
func (x *Event) GetStableCheckpoint() *StableCheckpoint
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Event_EpochConfig ¶
type Event_EpochConfig struct {
EpochConfig *commonpb.EpochConfig `protobuf:"bytes,1,opt,name=epoch_config,json=epochConfig,proto3,oneof"`
}
type Event_EpochProgress ¶
type Event_EpochProgress struct {
EpochProgress *EpochProgress `protobuf:"bytes,3,opt,name=epoch_progress,json=epochProgress,proto3,oneof"`
}
type Event_StableCheckpoint ¶
type Event_StableCheckpoint struct {
StableCheckpoint *StableCheckpoint `protobuf:"bytes,2,opt,name=stable_checkpoint,json=stableCheckpoint,proto3,oneof"`
}
type HashOrigin ¶
type HashOrigin struct {
// contains filtered or unexported fields
}
func (*HashOrigin) Descriptor
deprecated
func (*HashOrigin) Descriptor() ([]byte, []int)
Deprecated: Use HashOrigin.ProtoReflect.Descriptor instead.
func (*HashOrigin) ProtoMessage ¶
func (*HashOrigin) ProtoMessage()
func (*HashOrigin) ProtoReflect ¶
func (x *HashOrigin) ProtoReflect() protoreflect.Message
func (*HashOrigin) Reset ¶
func (x *HashOrigin) Reset()
func (*HashOrigin) String ¶
func (x *HashOrigin) String() string
type InstanceParams ¶
type InstanceParams struct { NodeIds []string `protobuf:"bytes,1,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"` Epoch uint64 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"` SeqNr uint64 `protobuf:"varint,3,opt,name=seq_nr,json=seqNr,proto3" json:"seq_nr,omitempty"` ResendPeriod uint64 `protobuf:"varint,4,opt,name=resend_period,json=resendPeriod,proto3" json:"resend_period,omitempty"` // in milliseconds // contains filtered or unexported fields }
func (*InstanceParams) Descriptor
deprecated
func (*InstanceParams) Descriptor() ([]byte, []int)
Deprecated: Use InstanceParams.ProtoReflect.Descriptor instead.
func (*InstanceParams) GetEpoch ¶
func (x *InstanceParams) GetEpoch() uint64
func (*InstanceParams) GetNodeIds ¶
func (x *InstanceParams) GetNodeIds() []string
func (*InstanceParams) GetResendPeriod ¶
func (x *InstanceParams) GetResendPeriod() uint64
func (*InstanceParams) GetSeqNr ¶
func (x *InstanceParams) GetSeqNr() uint64
func (*InstanceParams) ProtoMessage ¶
func (*InstanceParams) ProtoMessage()
func (*InstanceParams) ProtoReflect ¶
func (x *InstanceParams) ProtoReflect() protoreflect.Message
func (*InstanceParams) Reset ¶
func (x *InstanceParams) Reset()
func (*InstanceParams) String ¶
func (x *InstanceParams) String() string
type Message ¶
type Message struct { // Types that are assignable to Type: // *Message_Checkpoint Type isMessage_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetCheckpoint ¶
func (x *Message) GetCheckpoint() *Checkpoint
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Message_Checkpoint ¶
type Message_Checkpoint struct {
Checkpoint *Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3,oneof"`
}
type SigVerOrigin ¶
type SigVerOrigin struct {
// contains filtered or unexported fields
}
func (*SigVerOrigin) Descriptor
deprecated
func (*SigVerOrigin) Descriptor() ([]byte, []int)
Deprecated: Use SigVerOrigin.ProtoReflect.Descriptor instead.
func (*SigVerOrigin) ProtoMessage ¶
func (*SigVerOrigin) ProtoMessage()
func (*SigVerOrigin) ProtoReflect ¶
func (x *SigVerOrigin) ProtoReflect() protoreflect.Message
func (*SigVerOrigin) Reset ¶
func (x *SigVerOrigin) Reset()
func (*SigVerOrigin) String ¶
func (x *SigVerOrigin) String() string
type SignOrigin ¶
type SignOrigin struct {
// contains filtered or unexported fields
}
func (*SignOrigin) Descriptor
deprecated
func (*SignOrigin) Descriptor() ([]byte, []int)
Deprecated: Use SignOrigin.ProtoReflect.Descriptor instead.
func (*SignOrigin) ProtoMessage ¶
func (*SignOrigin) ProtoMessage()
func (*SignOrigin) ProtoReflect ¶
func (x *SignOrigin) ProtoReflect() protoreflect.Message
func (*SignOrigin) Reset ¶
func (x *SignOrigin) Reset()
func (*SignOrigin) String ¶
func (x *SignOrigin) String() string
type StableCheckpoint ¶
type StableCheckpoint struct { Sn uint64 `protobuf:"varint,1,opt,name=sn,proto3" json:"sn,omitempty"` Snapshot *commonpb.StateSnapshot `protobuf:"bytes,2,opt,name=snapshot,proto3" json:"snapshot,omitempty"` Cert map[string][]byte `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StableCheckpoint) Descriptor
deprecated
func (*StableCheckpoint) Descriptor() ([]byte, []int)
Deprecated: Use StableCheckpoint.ProtoReflect.Descriptor instead.
func (*StableCheckpoint) GetCert ¶
func (x *StableCheckpoint) GetCert() map[string][]byte
func (*StableCheckpoint) GetSn ¶
func (x *StableCheckpoint) GetSn() uint64
func (*StableCheckpoint) GetSnapshot ¶
func (x *StableCheckpoint) GetSnapshot() *commonpb.StateSnapshot
func (*StableCheckpoint) ProtoMessage ¶
func (*StableCheckpoint) ProtoMessage()
func (*StableCheckpoint) ProtoReflect ¶
func (x *StableCheckpoint) ProtoReflect() protoreflect.Message
func (*StableCheckpoint) Reset ¶
func (x *StableCheckpoint) Reset()
func (*StableCheckpoint) String ¶
func (x *StableCheckpoint) String() string
Click to show internal directories.
Click to hide internal directories.