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

Function NewComposeCluster

dgraphtest/compose_cluster.go:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17type ComposeCluster struct{}
18
19func NewComposeCluster() *ComposeCluster {
20 return &ComposeCluster{}
21}
22
23func (c *ComposeCluster) Client() (*dgraphapi.GrpcClient, func(), error) {
24 dg, err := dgo.NewClient(testutil.GetSockAddr(),

Callers 14

TestNamespacesFunction · 0.92
TestDropNamespaceErrFunction · 0.92
TestDropAllFunction · 0.92
TestDropDataFunction · 0.92
TestDropPredicateFunction · 0.92
TestDropTypeFunction · 0.92
SetupTestMethod · 0.92
SetupTestMethod · 0.92
TestAclCacheRestoreFunction · 0.92
SetupTestMethod · 0.92
TestMainFunction · 0.92

Calls

no outgoing calls

Tested by 14

TestNamespacesFunction · 0.74
TestDropNamespaceErrFunction · 0.74
TestDropAllFunction · 0.74
TestDropDataFunction · 0.74
TestDropPredicateFunction · 0.74
TestDropTypeFunction · 0.74
SetupTestMethod · 0.74
SetupTestMethod · 0.74
TestAclCacheRestoreFunction · 0.74
SetupTestMethod · 0.74
TestMainFunction · 0.74