MCPcopy Create free account
hub / github.com/docker/compose / Plan

Struct Plan

pkg/compose/plan.go:119–122  ·  view source on GitHub ↗

Plan is a directed acyclic graph of operations produced by the reconciler. Nodes are stored in topological order (dependencies before dependents).

Source from the content-addressed store, hash-verified

117// Plan is a directed acyclic graph of operations produced by the reconciler.
118// Nodes are stored in topological order (dependencies before dependents).
119type Plan struct {
120 Nodes []*PlanNode
121 nextID int
122}
123
124// addNode appends a new node to the plan and returns it.
125func (p *Plan) addNode(op Operation, group string, deps ...*PlanNode) *PlanNode {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected