executor

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlattenMap

func FlattenMap(data map[string]interface{}, prefix string) map[string]string

Add the missing flattenMap function

func ResetRunOnceTracking

func ResetRunOnceTracking()

Types

type Executor

type Executor struct {
	Host types.Host

	Variables      map[string]interface{}
	Registers      map[string]string
	CompletedTasks map[string]bool
	GroupName      string

	OutputWriter io.Writer
	StartTime    time.Time
	// contains filtered or unexported fields
}

func NewExecutor

func NewExecutor(host types.Host, groupName string) (*Executor, error)

func (*Executor) Close

func (e *Executor) Close() error

func (*Executor) CollectFacts

func (e *Executor) CollectFacts(factsConfig types.FactsConfig) error

func (*Executor) ExecuteTask

func (e *Executor) ExecuteTask(task types.Task) error

func (*Executor) SubstituteVars

func (e *Executor) SubstituteVars(text string) string

Jump to

Keyboard shortcuts

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