Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudbase/garm
/ GetEntityForInstance
Function
GetEntityForInstance
cache/instance_cache.go:182–184 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
180
}
181
182
func
GetEntityForInstance(name string) (params.ForgeEntity, bool) {
183
return
instanceCache.GetEntityForInstance(name)
184
}
Callers
9
TestGetEntityForInstanceWithPool
Method · 0.85
TestGetEntityForInstanceWithScaleSet
Method · 0.85
TestGetEntityForInstanceWithRepositoryEntity
Method · 0.85
TestGetEntityForInstanceWithEnterpriseEntity
Method · 0.85
TestGetEntityForInstanceWithNoPoolOrScaleSet
Method · 0.85
TestGetEntityForInstanceWithNonExistentPool
Method · 0.85
TestGetEntityForInstanceWithNonExistentScaleSet
Method · 0.85
TestGetEntityForInstanceWithNonExistentEntity
Method · 0.85
TestGetEntityForInstanceWithBothPoolAndScaleSet
Method · 0.85
Calls
1
GetEntityForInstance
Method · 0.80
Tested by
9
TestGetEntityForInstanceWithPool
Method · 0.68
TestGetEntityForInstanceWithScaleSet
Method · 0.68
TestGetEntityForInstanceWithRepositoryEntity
Method · 0.68
TestGetEntityForInstanceWithEnterpriseEntity
Method · 0.68
TestGetEntityForInstanceWithNoPoolOrScaleSet
Method · 0.68
TestGetEntityForInstanceWithNonExistentPool
Method · 0.68
TestGetEntityForInstanceWithNonExistentScaleSet
Method · 0.68
TestGetEntityForInstanceWithNonExistentEntity
Method · 0.68
TestGetEntityForInstanceWithBothPoolAndScaleSet
Method · 0.68