Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/argoproj/argo-workflows
/ countNodes
Method
countNodes
workflow/controller/node_counters.go:60–68 ·
view source on GitHub ↗
(counter counter)
Source
from the content-addressed store, hash-verified
58
}
59
60
func
(woc *wfOperationCtx) countNodes(counter counter) int64 {
61
count := 0
62
for
_, node :=
range
woc.wf.Status.Nodes {
63
if
counter(node) {
64
count++
65
}
66
}
67
return
int64(count)
68
}
Callers
3
getActivePods
Method · 0.95
getActiveChildren
Method · 0.95
getUnsuccessfulChildren
Method · 0.95
Calls
1
counter
FuncType · 0.85
Tested by
no test coverage detected