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

Function GetPools

conn/pool.go:65–67  ·  view source on GitHub ↗

GetPools returns the list of pools.

()

Source from the content-addressed store, hash-verified

63
64// GetPools returns the list of pools.
65func GetPools() *Pools {
66 return pi
67}
68
69// Get returns the list for the given address.
70func (p *Pools) Get(addr string) (*Pool, error) {

Callers 15

HealthMethod · 0.92
handleMemberProposalMethod · 0.92
applyConfChangeMethod · 0.92
initAndStartNodeMethod · 0.92
checkQuorumMethod · 0.92
LeaderMethod · 0.92
SetMembershipStateMethod · 0.92
ConnectMethod · 0.92
runFunction · 0.92
streamInGroupFunction · 0.92
TaskStatusOverNetworkFunction · 0.92
applyStateMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected