Documentation ¶
Index ¶
- Variables
- func Apply(ctx context.Context, in *graph.Graph) (*graph.Graph, error)
- func Pipeline(g *graph.Graph, id string, factory *render.Factory) executor.Pipeline
- func PlanAndApply(ctx context.Context, in *graph.Graph) (*graph.Graph, error)
- func WithNotify(ctx context.Context, in *graph.Graph, notify *graph.Notifier) (*graph.Graph, error)
- type MkPipelineF
- type Result
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTreeContainsErrors = errors.New("apply had errors, check graph")
ErrTreeContainsErrors is a signal value to indicate errors in the graph
Functions ¶
func PlanAndApply ¶
PlanAndApply plans and applies each node
Types ¶
type MkPipelineF ¶
MkPipelineF is a function to generate a pipeline given an id
type Result ¶
type Result struct { Task resource.Task Status resource.TaskStatus Err error Ran bool Plan *plan.Result PostCheck resource.TaskStatus }
Result of application
func (*Result) GetStatus ¶
func (r *Result) GetStatus() resource.TaskStatus
GetStatus returns the current task status
func (*Result) HasChanges ¶
HasChanges indicates if this result ran
Click to show internal directories.
Click to hide internal directories.