Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/crowdsecurity/crowdsec
/ Empty
Method
Empty
pkg/apiserver/middlewares/v1/cache.go:96–100 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
94
}
95
96
func
(rc *RevocationCache) Empty() {
97
rc.mu.Lock()
98
defer
rc.mu.Unlock()
99
rc.cache = make(
map
[string]cacheEntry)
100
}
Callers
15
TestCreateSetGet
Function · 0.80
TestFirePaginator
Function · 0.80
TestSmokeUnknownIP
Function · 0.80
TestCheckAllowlist
Function · 0.80
TestIsAllowListedBy_SingleAndMultiple
Function · 0.80
TestIsAllowListedBy_NoMatch
Function · 0.80
TestParseSourceConfig
Function · 0.80
assertMetrics
Function · 0.80
TestLiveAcquisition
Function · 0.80
TestStreaming
Function · 0.80
TestWatchLogGroupForStreams
Method · 0.80
TestOneShotAcquisition
Method · 0.80
Calls
no outgoing calls
Tested by
15
TestCreateSetGet
Function · 0.64
TestFirePaginator
Function · 0.64
TestSmokeUnknownIP
Function · 0.64
TestCheckAllowlist
Function · 0.64
TestIsAllowListedBy_SingleAndMultiple
Function · 0.64
TestIsAllowListedBy_NoMatch
Function · 0.64
TestParseSourceConfig
Function · 0.64
assertMetrics
Function · 0.64
TestLiveAcquisition
Function · 0.64
TestStreaming
Function · 0.64
TestWatchLogGroupForStreams
Method · 0.64
TestOneShotAcquisition
Method · 0.64