MCPcopy
hub / github.com/CodisLabs/codis / openTopom

Function openTopom

pkg/topom/topom_test.go:46–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46func openTopom() *Topom {
47 t, err := New(newDiskClient(), config)
48 assert.MustNoError(err)
49 assert.MustNoError(t.Start(false))
50 return t
51}
52
53func openProxy() (*models.Proxy, *proxy.ApiClient) {
54 config := proxy.NewDefaultConfig()

Callers 15

TestSlotActionFunction · 0.85
TestSyncActionFunction · 0.85
TestTopomCloseFunction · 0.85
TestGroupCreateFunction · 0.85
TestGroupRemoveFunction · 0.85
TestGroupAddServerFunction · 0.85
TestGroupDelServerFunction · 0.85
TestGroupPromoteFunction · 0.85
TestSlotStateFunction · 0.85
TestCreateProxyFunction · 0.85
TestRemoveProxyFunction · 0.85
TestSlotCreateActionFunction · 0.85

Calls 3

newDiskClientFunction · 0.85
NewFunction · 0.70
StartMethod · 0.45

Tested by

no test coverage detected