Help us shape the future of Go! Take the 2026 Go Developer Survey

executor

package
v1.9.82 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

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 added in v1.3.2

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

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL