Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeState ¶
type ChangeState interface { // Change state ApplyChangeLog(cl *spec.ChangeLog) error ProcessChangeLog(cl *spec.ChangeLog, reload bool) error WaitForChanges(cl *spec.ChangeLog) error ReloadState(bool, ...*spec.ChangeLog) error ChangeHash() uint64 ChangeLogs() []*spec.ChangeLog // Readiness Ready() bool SetReady(bool) // Replication SetupRaft(*raft.Raft, *raftadmin.Client) Raft() *raft.Raft // Resources ResourceManager() *resources.ResourceManager DocumentManager() resources.DocumentManager }
Click to show internal directories.
Click to hide internal directories.