Documentation
¶
Index ¶
- type Wrapper
- func (w *Wrapper) Handler() http.Handler
- func (w *Wrapper) IsIDRemoved(id uint64) bool
- func (w *Wrapper) Process(ctx context.Context, m raftpb.Message) error
- func (w *Wrapper) ProposeCmd(ctx context.Context, req []byte) (raft.Future, error)
- func (w *Wrapper) ProposeConf(ctx context.Context, req *commonpb.ReconfRequest) (raft.Future, error)
- func (w *Wrapper) ReadCmd(context.Context, []byte) (raft.Future, error)
- func (w *Wrapper) ReportSnapshot(id uint64, status etcdraft.SnapshotStatus)
- func (w *Wrapper) ReportUnreachable(id uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
Wrapper wraps an etcd/raft.Node and implements relab/raft.Raft and etcd/rafthttp.Raft.
func (*Wrapper) IsIDRemoved ¶
func (*Wrapper) ProposeCmd ¶
func (*Wrapper) ProposeConf ¶
func (*Wrapper) ReportSnapshot ¶
func (w *Wrapper) ReportSnapshot(id uint64, status etcdraft.SnapshotStatus)
func (*Wrapper) ReportUnreachable ¶
Click to show internal directories.
Click to hide internal directories.