Documentation
¶
Overview ¶
Package runner provides parallel task execution for monox.
Index ¶
- type Config
- type Result
- type Runner
- func (r *Runner) Events() <-chan api.TaskEvent
- func (r *Runner) Run(ctx context.Context, taskGraph *graph.TaskGraph) error
- func (r *Runner) RunSingle(ctx context.Context, project *api.Project, task api.Task) error
- func (r *Runner) RunWithResult(ctx context.Context, taskGraph *graph.TaskGraph) (*Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
WorkspaceRoot string
Cache cache.Cache
Hasher *cache.Hasher
Parallelism int
DryRun bool
Verbose bool
FailFast bool
}
Config holds runner configuration.
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner executes tasks in parallel with caching support.
Click to show internal directories.
Click to hide internal directories.