Versions in this module Expand all Collapse all v0 v0.2.134 Dec 25, 2019 Changes in this version + const ResultChanLength + type ActionResult struct + Err error + Name string + type DAG struct + Tasks map[string]*Task + func (d *DAG) AddTask(name string, task, rollback func(context.Context, io.Writer) error, ...) error + func (d DAG) Check() error + func (d DAG) Do(ctx context.Context, out io.Writer) error + type Task struct + DependsOn []string + func (n Task) Rollback(ctx context.Context, out io.Writer) error + func (n Task) Run(ctx context.Context, out io.Writer) error + type TaskErrors struct + RollbackErrors map[string]error + RunErrors map[string]error + func (d TaskErrors) Error() string