Discover Packages
github.com/jeffrom/polyester
planner
execute
package
Version:
v0.0.0-...-b94449b
Opens a new window with list of versions in this module.
Published: Sep 17, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package execute contains the logic to execute plans concurrently, taking
into account dependencies and phases.
type OperationResult struct {
Name string `json:"name"`
Dirty bool `json:"dirty"`
Changed bool `json:"changed"`
PrevEmpty bool `json:"prev_empty"`
Executed bool `json:"executed"`
}
type Result struct {
Plans []*PlanResult `json:"plans"`
}
Execute runs a manifest concurrently. Each "plan" or "dependency" operation
runs in a concurrent pool, taking dependencies into account. Operations run
serially per-plan.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.