MCPcopy
hub / github.com/dgraph-io/dgraph / ContainerAddrLocalhost

Function ContainerAddrLocalhost

testutil/docker.go:228–230  ·  view source on GitHub ↗
(name string, privatePort uint16)

Source from the content-addressed store, hash-verified

226}
227
228func ContainerAddrLocalhost(name string, privatePort uint16) string {
229 return ContainerAddrWithHost(name, privatePort, "localhost")
230}
231
232func ContainerAddr(name string, privatePort uint16) string {
233 return ContainerAddrWithHost(name, privatePort, "0.0.0.0")

Callers 1

Calls 1

ContainerAddrWithHostFunction · 0.85

Tested by

no test coverage detected