MCPcopy Index your code
hub / github.com/docker/cli / terminalState

Function terminalState

cli/command/service/progress/progress.go:67–69  ·  view source on GitHub ↗
(state swarm.TaskState)

Source from the content-addressed store, hash-verified

65}
66
67func terminalState(state swarm.TaskState) bool {
68 return numberedStates[state] > numberedStates[swarm.TaskStateRunning]
69}
70
71// ServiceProgress outputs progress information for convergence of a service.
72//

Callers 5

initFunction · 0.70
updateMethod · 0.70
writeTaskProgressMethod · 0.70
updateMethod · 0.70
writeTaskProgressMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…