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

Struct LocalCluster

dgraphtest/local_cluster.go:52–67  ·  view source on GitHub ↗

LocalCluster is a local dgraph cluster

Source from the content-addressed store, hash-verified

50
51// LocalCluster is a local dgraph cluster
52type LocalCluster struct {
53 conf ClusterConfig
54 tempBinDir string
55 tempSecretsDir string
56 encKeyPath string
57
58 lowerThanV21 bool
59 customTokenizers string
60
61 // resources
62 dcli *docker.Client
63 net cnet
64 netMutex sync.Mutex // protects network recreation
65 zeros []*zero
66 alphas []*alpha
67}
68
69// UpgradeStrategy is an Enum that defines various upgrade strategies
70type UpgradeStrategy int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected