Documentation ¶
Overview ¶
Package executor contains an interface and implementations for task execution engines. These engines simply subscribe to a queue of execution tasks and execute them as they arrive.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandExecutor ¶
type CommandExecutor struct {
// contains filtered or unexported fields
}
CommandExecutor handles command invocation targets
func NewCommandExecutor ¶
func NewCommandExecutor( secrets secret.Store, passEnvironment bool, configSecretPath string, configSecretPrefix string, ) CommandExecutor
NewCommandExecutor creates a new CommandExecutor
func (*CommandExecutor) Subscribe ¶
func (e *CommandExecutor) Subscribe(bus chan task.ExecutionTask)
Subscribe implements executor.Executor
type Executor ¶
type Executor interface {
Subscribe(chan task.ExecutionTask)
}
Executor describes a type that can handle events and react to them. An executor is also responsible for hydrating a target with secrets.
Click to show internal directories.
Click to hide internal directories.