Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudbase/garm
/ GetAllInstancesCache
Function
GetAllInstancesCache
cache/instance_cache.go:166–168 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
164
}
165
166
func
GetAllInstancesCache() []params.Instance {
167
return
instanceCache.GetAllInstances()
168
}
169
170
func
GetInstancesForPool(poolID string) []params.Instance {
171
return
instanceCache.GetInstancesForPool(poolID)
Callers
2
BuildSnapshot
Function · 0.92
TestGetAllInstances
Method · 0.85
Calls
1
GetAllInstances
Method · 0.80
Tested by
1
TestGetAllInstances
Method · 0.68