Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualSlices ¶
func EqualSlices(replicas []string) *protos.Assignment
EqualSlices returns an assignment with slices of roughly equal size. Replicas are assigned to slices in a round robin fashion. The returned assignment has a version of 0.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.