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

Method Addr

cli-plugins/socket/socket.go:89–91  ·  view source on GitHub ↗

Addr returns the [net.Addr] of the underlying [net.Listener].

()

Source from the content-addressed store, hash-verified

87
88// Addr returns the [net.Addr] of the underlying [net.Listener].
89func (pl *PluginServer) Addr() net.Addr {
90 return pl.l.Addr()
91}
92
93// Close ensures that the server is no longer accepting new connections and
94// closes all existing connections. Existing connections will receive [io.EOF].

Callers 5

TestPluginServerFunction · 0.95
TestConnectAndWaitFunction · 0.95
tryPluginRunFunction · 0.95
NewPluginServerFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestPluginServerFunction · 0.76
TestConnectAndWaitFunction · 0.76