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

Function ContainerAddr

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

Source from the content-addressed store, hash-verified

230}
231
232func ContainerAddr(name string, privatePort uint16) string {
233 return ContainerAddrWithHost(name, privatePort, "0.0.0.0")
234}
235
236// DockerRun performs the specified operation on the given container instance.
237func DockerRun(instance string, op int) error {

Callers 15

TestZeroHealthFunction · 0.92
TestMutationsDisallowFunction · 0.92
TestMutationsStrictFunction · 0.92
minioPathFunction · 0.92
setupMethod · 0.92
cleanupMethod · 0.92
testCaseFunction · 0.92
testCaseWithAclFunction · 0.92
testDeleteEdgeWithStarFunction · 0.92
TestQueriesFunction · 0.92
Test1MillionFunction · 0.92
TestMainFunction · 0.92

Calls 1

ContainerAddrWithHostFunction · 0.85

Tested by 15

TestZeroHealthFunction · 0.74
TestMutationsDisallowFunction · 0.74
TestMutationsStrictFunction · 0.74
TestQueriesFunction · 0.74
Test1MillionFunction · 0.74
TestMainFunction · 0.74
liveLoadDataMethod · 0.74
BenchmarkQueriesFunction · 0.74
TestMainFunction · 0.74
TestQueriesFor21MillionFunction · 0.74
backupRestoreTestFunction · 0.74
TestDeletedNamespaceIDFunction · 0.74