MCPcopy 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
76func newService(id string, name string) swarm.Service {
77 return *builders.Service(builders.ServiceID(id), builders.ServiceName(name))
78}

Callers 2

TestServiceListOrderFunction · 0.85
TestCreateFilterFunction · 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…