Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executable ¶
type Executable interface {
Execute() error
}
type Executor ¶
type Executor interface {
Run([][]Executable) []error
}
type ParallelExecutor ¶
type ParallelExecutor struct {
// contains filtered or unexported fields
}
func NewParallelExecutor ¶
func NewParallelExecutor() ParallelExecutor
func (ParallelExecutor) Run ¶
func (s ParallelExecutor) Run(executablesList [][]Executable) []error
func (ParallelExecutor) SetMaxInFlight ¶
func (s ParallelExecutor) SetMaxInFlight(maxInFlight int)
type SerialExecutor ¶
type SerialExecutor struct { }
func NewSerialExecutor ¶
func NewSerialExecutor() SerialExecutor
func (SerialExecutor) Run ¶
func (s SerialExecutor) Run(executablesList [][]Executable) []error
Click to show internal directories.
Click to hide internal directories.