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

Method WithVersion

dgraphtest/config.go:198–201  ·  view source on GitHub ↗

WithVersion sets the Dgraph version for the cluster

(version string)

Source from the content-addressed store, hash-verified

196
197// WithVersion sets the Dgraph version for the cluster
198func (cc ClusterConfig) WithVersion(version string) ClusterConfig {
199 cc.version = version
200 return cc
201}
202
203// WithAlphaVolume allows creating a shared volumes across alphas with
204// name volname and mount directory specified as dir inside the container

Callers 10

TestCheckUpgradeFunction · 0.80
TestQueryDuplicateNodesFunction · 0.80
SetupSubTestMethod · 0.80
SetupTestMethod · 0.80
SetupTestMethod · 0.80
TestCountReverseIndexFunction · 0.80
TestMainFunction · 0.80
SetupTestMethod · 0.80

Calls

no outgoing calls

Tested by 10

TestCheckUpgradeFunction · 0.64
TestQueryDuplicateNodesFunction · 0.64
SetupSubTestMethod · 0.64
SetupTestMethod · 0.64
SetupTestMethod · 0.64
TestCountReverseIndexFunction · 0.64
TestMainFunction · 0.64
SetupTestMethod · 0.64