Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Distribution ¶
type Distribution struct {
Workers []WorkerBucket
}
func RoundRobin ¶
func RoundRobin(tests []TestFile, workerCount int) Distribution
func (Distribution) GetWorkerTests ¶
func (d Distribution) GetWorkerTests(workerID int) []TestFile
func (Distribution) TestCount ¶
func (d Distribution) TestCount() int
func (Distribution) WorkerCount ¶
func (d Distribution) WorkerCount() int
type WorkerBucket ¶
Click to show internal directories.
Click to hide internal directories.