MCPcopy Create free account
hub / github.com/cloudbase/garm / GetEntityForPool

Function GetEntityForPool

cache/entity_cache.go:576–578  ·  view source on GitHub ↗
(poolID string)

Source from the content-addressed store, hash-verified

574}
575
576func GetEntityForPool(poolID string) (params.ForgeEntity, bool) {
577 return entityCache.GetEntityForPool(poolID)
578}
579
580func GetPoolByID(poolID string) (params.Pool, bool) {
581 return entityCache.GetPoolByID(poolID)

Callers 1

TestGetEntityForPoolMethod · 0.85

Calls 1

GetEntityForPoolMethod · 0.80

Tested by 1

TestGetEntityForPoolMethod · 0.68