MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / getMap

Method getMap

pkg/controller/rtctrl/log_dispatcher.go:295–302  ·  view source on GitHub ↗
(runtimeID string)

Source from the content-addressed store, hash-verified

293}
294
295func (m *storeMap) getMap(runtimeID string) (storeMap *logStatStoreMap, ok bool) {
296 v, ok := m.Load(runtimeID)
297 if ok {
298 storeMap, ok = v.(*logStatStoreMap)
299 return
300 }
301 return
302}
303
304func (m *storeMap) delMap(runtimeID string) {
305 m.Delete(runtimeID)

Callers 2

stdlogHandlerMethod · 0.80
statisticHandlerMethod · 0.80

Calls 1

LoadMethod · 0.80

Tested by

no test coverage detected