Versions in this module Expand all Collapse all v1 v1.0.0 Apr 26, 2019 Changes in this version + const CVOManifestDir + const DefaultPayloadDir + const ReleaseManifestDir + func ByNumberAndComponent(tasks []*Task) [][]*TaskNode + func FlattenByNumberAndComponent(tasks []*Task) [][]*TaskNode + func ImageForShortName(name string) (string, error) + func Render(outputDir, releaseImage string) error + func RunGraph(ctx context.Context, graph *TaskGraph, maxParallelism int, ...) []error + func SplitOnJobs(task *Task) bool + func SummaryForReason(reason, name string) string + func ValidateDirectory(dir string) error + type BreakFunc func([]*Task) [][]*TaskNode + func PermuteOrder(breakFn BreakFunc, r *rand.Rand) BreakFunc + type ResourceBuilder interface + Apply func(context.Context, *lib.Manifest, State) error + type State int + const InitializingPayload + const ReconcilingPayload + const UpdatingPayload + func (s State) Initializing() bool + func (s State) Reconciling() bool + func (s State) String() string + type Task struct + Backoff wait.Backoff + Index int + Manifest *lib.Manifest + Requeued int + Total int + func (st *Task) Copy() *Task + func (st *Task) Run(ctx context.Context, version string, builder ResourceBuilder, state State) error + func (st *Task) String() string + type TaskGraph struct + Nodes []*TaskNode + func NewTaskGraph(tasks []*Task) *TaskGraph + func (g *TaskGraph) Parallelize(breakFn BreakFunc) + func (g *TaskGraph) Roots() []int + func (g *TaskGraph) Split(onFn func(task *Task) bool) + func (g *TaskGraph) Tree() string + type TaskNode struct + In []int + Out []int + Tasks []*Task + func (n TaskNode) String() string + type Update struct + ImageRef *imagev1.ImageStream + ManifestHash string + Manifests []lib.Manifest + ReleaseImage string + ReleaseVersion string + func LoadUpdate(dir, releaseImage string) (*Update, error) + type UpdateError struct + Message string + Name string + Nested error + Reason string + Task *Task + func (e *UpdateError) Cause() error + func (e *UpdateError) Error() string