MCPcopy
hub / github.com/moncho/dry / NodeID

Method NodeID

docker/formatter/task.go:75–80  ·  view source on GitHub ↗

NodeID Task nodeID as a string

()

Source from the content-addressed store, hash-verified

73
74// NodeID Task nodeID as a string
75func (t *TaskStringer) NodeID() string {
76 if name, err := t.api.ResolveNode(t.task.NodeID); err == nil {
77 return name
78 }
79 return ""
80}
81
82// DesiredState Task desired state as a string
83func (t *TaskStringer) DesiredState() string {

Callers 1

newTaskRowFunction · 0.95

Calls 1

ResolveNodeMethod · 0.65

Tested by

no test coverage detected