Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrClosed = errors.New("no more specs to run")
Functions ¶
Types ¶
type ParallelIterator ¶
type ParallelIterator struct {
// contains filtered or unexported fields
}
func NewParallelIterator ¶
func NewParallelIterator(specs []*spec.Spec, host string) *ParallelIterator
func (*ParallelIterator) NumberOfSpecsPriorToIteration ¶
func (s *ParallelIterator) NumberOfSpecsPriorToIteration() int
func (*ParallelIterator) NumberOfSpecsThatWillBeRunIfKnown ¶
func (s *ParallelIterator) NumberOfSpecsThatWillBeRunIfKnown() (int, bool)
func (*ParallelIterator) NumberOfSpecsToProcessIfKnown ¶
func (s *ParallelIterator) NumberOfSpecsToProcessIfKnown() (int, bool)
type SerialIterator ¶
type SerialIterator struct {
// contains filtered or unexported fields
}
func NewSerialIterator ¶
func NewSerialIterator(specs []*spec.Spec) *SerialIterator
func (*SerialIterator) NumberOfSpecsPriorToIteration ¶
func (s *SerialIterator) NumberOfSpecsPriorToIteration() int
func (*SerialIterator) NumberOfSpecsThatWillBeRunIfKnown ¶
func (s *SerialIterator) NumberOfSpecsThatWillBeRunIfKnown() (int, bool)
func (*SerialIterator) NumberOfSpecsToProcessIfKnown ¶
func (s *SerialIterator) NumberOfSpecsToProcessIfKnown() (int, bool)
type ShardedParallelIterator ¶
type ShardedParallelIterator struct {
// contains filtered or unexported fields
}
func NewShardedParallelIterator ¶
func NewShardedParallelIterator(specs []*spec.Spec, total int, node int) *ShardedParallelIterator
func (*ShardedParallelIterator) NumberOfSpecsPriorToIteration ¶
func (s *ShardedParallelIterator) NumberOfSpecsPriorToIteration() int
func (*ShardedParallelIterator) NumberOfSpecsThatWillBeRunIfKnown ¶
func (s *ShardedParallelIterator) NumberOfSpecsThatWillBeRunIfKnown() (int, bool)
func (*ShardedParallelIterator) NumberOfSpecsToProcessIfKnown ¶
func (s *ShardedParallelIterator) NumberOfSpecsToProcessIfKnown() (int, bool)
Click to show internal directories.
Click to hide internal directories.