MCPcopy Index your code
hub / github.com/docker/cli / networkFromName

Function networkFromName

cli/command/stack/client_test.go:197–204  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

195}
196
197func networkFromName(name string) network.Summary {
198 return network.Summary{
199 Network: network.Network{
200 ID: "ID-" + name,
201 Name: name,
202 },
203 }
204}
205
206func secretFromName(name string) swarm.Secret {
207 return swarm.Secret{

Callers 1

NetworkListMethod · 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…