Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/docker/cli
/ newService
Function
newService
cli/command/service/client_test.go:76–78 ·
view source on GitHub ↗
(id string, name string)
Source
from the content-addressed store, hash-verified
74
}
75
76
func
newService(id string, name string) swarm.Service {
77
return
*builders.Service(builders.ServiceID(id), builders.ServiceName(name))
78
}
Callers
2
TestServiceListOrder
Function · 0.85
TestCreateFilter
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…