Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coordinator ¶
type Coordinator struct { OperatorController *operator.Controller // contains filtered or unexported fields }
NB: Coordinator is assumed to be used in synchronous, single-threaded context.
func NewCoordinator ¶
func NewCoordinator() *Coordinator
func (*Coordinator) Check ¶
func (c *Coordinator) Check(alloc util.IDAllocator, cluster pb.ClusterInfo, dnState pb.DNState, logState pb.LogState, currentTick uint64) []pb.ScheduleCommand
Click to show internal directories.
Click to hide internal directories.