executor

package
v1.9.69 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 0 Imported by: 4

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

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