MCPcopy Create free account
hub / github.com/deepflowio/deepflow / GetCache

Function GetCache

server/controller/prometheus/cache/org.go:34–36  ·  view source on GitHub ↗
(orgID int)

Source from the content-addressed store, hash-verified

32)
33
34func GetCache(orgID int) (*Cache, error) {
35 return GetORGCaches().NewCacheAndInitIfNotExist(orgID)
36}
37
38var (
39 orgCachesOnce sync.Once

Callers 1

GetDebugCacheFunction · 0.70

Calls 2

GetORGCachesFunction · 0.85

Tested by

no test coverage detected