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

Struct PlanNode

pkg/compose/plan.go:110–115  ·  view source on GitHub ↗

PlanNode is a single node in the reconciliation DAG. It represents one atomic operation and its dependencies on other nodes.

Source from the content-addressed store, hash-verified

108// PlanNode is a single node in the reconciliation DAG. It represents one
109// atomic operation and its dependencies on other nodes.
110type PlanNode struct {
111 ID int // numeric identifier (#1, #2, ...)
112 Operation Operation
113 DependsOn []*PlanNode // prerequisite operations
114 Group string // event grouping key (e.g. "recreate:web:1"); empty for ungrouped nodes
115}
116
117// Plan is a directed acyclic graph of operations produced by the reconciler.
118// Nodes are stored in topological order (dependencies before dependents).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected