Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
34
func
GetCache(orgID int) (*Cache, error) {
35
return
GetORGCaches().NewCacheAndInitIfNotExist(orgID)
36
}
37
38
var
(
39
orgCachesOnce sync.Once
Callers
1
GetDebugCache
Function · 0.70
Calls
2
GetORGCaches
Function · 0.85
NewCacheAndInitIfNotExist
Method · 0.80
Tested by
no test coverage detected