Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor interface {
Execute(command string) commandResult
}
Executor runs shell commands. The default implementation uses exec.Command.
type Runner ¶
type Runner struct {
State StateTracker
Executor Executor
}
Runner handles task execution with retry logic.
func NewRunner ¶
func NewRunner(s StateTracker) *Runner
NewRunner creates a new task runner with the default shell executor.
Click to show internal directories.
Click to hide internal directories.