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

Method mounts

dgraphtest/dgraph.go:159–167  ·  view source on GitHub ↗
(c *LocalCluster)

Source from the content-addressed store, hash-verified

157}
158
159func (z *zero) mounts(c *LocalCluster) ([]mount.Mount, error) {
160 var mounts []mount.Mount
161 binMount, err := mountBinary(c)
162 if err != nil {
163 return nil, err
164 }
165 mounts = append(mounts, binMount)
166 return mounts, nil
167}
168
169func (z *zero) healthURL(c *LocalCluster) (string, error) {
170 publicPort, err := publicPort(c.dcli, z, zeroHttpPort)

Callers

nothing calls this directly

Calls 1

mountBinaryFunction · 0.85

Tested by

no test coverage detected