Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/docker/cli
/ Node
Method
Node
cli/command/task/formatter.go:113–115 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
111
}
112
113
func
(c *taskContext) Node() string {
114
return
c.node
115
}
116
117
func
(c *taskContext) DesiredState() string {
118
return
formatter.PrettyPrint(c.task.DesiredState)
Callers
15
TestResolveWithCache
Function · 0.80
TestResolveNode
Function · 0.80
TestTaskPrintWithIndentation
Function · 0.80
TestTaskPrintWithResolution
Function · 0.80
TestSwarmJoinToken
Function · 0.80
TestStackPs
Function · 0.80
TestCompleteEventFilter
Function · 0.80
TestNodeInspectPretty
Function · 0.80
TestNodePromoteNoChange
Function · 0.80
TestNodePromoteMultipleNode
Function · 0.80
TestNodeList
Function · 0.80
TestNodeListQuietShouldOnlyPrintIDs
Function · 0.80
Calls
no outgoing calls
Tested by
15
TestResolveWithCache
Function · 0.64
TestResolveNode
Function · 0.64
TestTaskPrintWithIndentation
Function · 0.64
TestTaskPrintWithResolution
Function · 0.64
TestSwarmJoinToken
Function · 0.64
TestStackPs
Function · 0.64
TestCompleteEventFilter
Function · 0.64
TestNodeInspectPretty
Function · 0.64
TestNodePromoteNoChange
Function · 0.64
TestNodePromoteMultipleNode
Function · 0.64
TestNodeList
Function · 0.64
TestNodeListQuietShouldOnlyPrintIDs
Function · 0.64