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

Function contextCreateProxy

pkg/topom/topom_cache_test.go:143–146  ·  view source on GitHub ↗
(t *Topom, p *models.Proxy)

Source from the content-addressed store, hash-verified

141}
142
143func contextCreateProxy(t *Topom, p *models.Proxy) {
144 t.dirtyProxyCache(p.Token)
145 assert.MustNoError(t.storeCreateProxy(p))
146}
147
148func contextRemoveProxy(t *Topom, p *models.Proxy) {
149 t.dirtyProxyCache(p.Token)

Callers 7

TestGroupPromoteFunction · 0.85
TestSlotActionPendingFunction · 0.85
TestSlotActionPreparingFunction · 0.85
TestSlotActionPreparedFunction · 0.85
TestSlotActionMigratingFunction · 0.85
TestSlotActionFinishedFunction · 0.85
TestProxyStatsFunction · 0.85

Calls 2

dirtyProxyCacheMethod · 0.80
storeCreateProxyMethod · 0.80

Tested by

no test coverage detected