executor

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor added in v0.0.9

type Executor struct {
	// contains filtered or unexported fields
}

func New

func New(logger zerolog.Logger, opts ...Option) *Executor

func (Executor) ExecuteOperation added in v0.0.9

func (e Executor) ExecuteOperation(hostGroup map[string][]remote.Host, pool *remote.HostPool, op operation.Operation) error

func (Executor) ExecuteOperations added in v0.0.9

func (e Executor) ExecuteOperations(ops []operation.Operation) error

func (Executor) LoadOperations added in v0.0.9

func (e Executor) LoadOperations(filename string, logger zerolog.Logger) ([]operation.Operation, error)

type Option

type Option func(e *Executor)

func WithMaxProcs

func WithMaxProcs(maxProcs int) Option

func WithVerboseLeve

func WithVerboseLeve(verboseLevel int) Option

Jump to

Keyboard shortcuts

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