Documentation
¶
Index ¶
- type Executor
- func (e Executor) ExecuteOnHosts(outputPrefix string, hostGroup map[string][]remote.Host, pool *remote.HostPool, ...) error
- func (e Executor) ExecuteOperations(outputPrefix string, hostGroup map[string][]remote.Host, ...) error
- func (e Executor) LoadTaskFile(filename string) (map[string][]remote.Host, []operation.Operation, error)
- type Option
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 (Executor) ExecuteOnHosts ¶ added in v0.0.22
func (Executor) ExecuteOperations ¶ added in v0.0.9
type Option ¶
type Option func(e *Executor)
Option configures an Executor.
func WithMaxProcs ¶
WithMaxProcs sets the maximum number of concurrent operations. A value of 0 or negative is ignored and the default (1) is used.
func WithVerboseLevel ¶ added in v0.0.19
WithVerboseLevel sets the verbosity level for executor output.