MCPcopy
hub / github.com/NVIDIA/aistore / GetClusterMap

Function GetClusterMap

devtools/tutils/client.go:617–621  ·  view source on GitHub ↗
(tb testing.TB, url string)

Source from the content-addressed store, hash-verified

615}
616
617func GetClusterMap(tb testing.TB, url string) *cluster.Smap {
618 smap, err := waitForStartup(BaseAPIParams(url), tb)
619 _ = err // the caller must check smap for nil
620 return smap
621}
622
623func getClusterConfig() (config *cmn.Config, err error) {
624 proxyURL := GetPrimaryURL()

Callers 15

postRenameWaitAndCheckFunction · 0.92
TestGetNodeStatsFunction · 0.92
TestGetClusterStatsFunction · 0.92
TestConfigGetFunction · 0.92
TestConfigSetGlobalFunction · 0.92
TestConfigSyncToNewNodeFunction · 0.92
TestRProxyGCSFunction · 0.92

Calls 2

waitForStartupFunction · 0.85
BaseAPIParamsFunction · 0.85

Tested by 15

postRenameWaitAndCheckFunction · 0.74
TestGetNodeStatsFunction · 0.74
TestGetClusterStatsFunction · 0.74
TestConfigGetFunction · 0.74
TestConfigSetGlobalFunction · 0.74
TestConfigSyncToNewNodeFunction · 0.74
TestRProxyGCSFunction · 0.74