MCPcopy 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
113func (c *taskContext) Node() string {
114 return c.node
115}
116
117func (c *taskContext) DesiredState() string {
118 return formatter.PrettyPrint(c.task.DesiredState)

Callers 15

TestResolveWithCacheFunction · 0.80
TestResolveNodeFunction · 0.80
TestSwarmJoinTokenFunction · 0.80
TestStackPsFunction · 0.80
TestCompleteEventFilterFunction · 0.80
TestNodeInspectPrettyFunction · 0.80
TestNodePromoteNoChangeFunction · 0.80
TestNodeListFunction · 0.80

Calls

no outgoing calls

Tested by 15

TestResolveWithCacheFunction · 0.64
TestResolveNodeFunction · 0.64
TestSwarmJoinTokenFunction · 0.64
TestStackPsFunction · 0.64
TestCompleteEventFilterFunction · 0.64
TestNodeInspectPrettyFunction · 0.64
TestNodePromoteNoChangeFunction · 0.64
TestNodeListFunction · 0.64