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

Function GetEntityPool

cache/entity_cache.go:532–534  ·  view source on GitHub ↗
(entityID string, poolID string)

Source from the content-addressed store, hash-verified

530}
531
532func GetEntityPool(entityID string, poolID string) (params.Pool, bool) {
533 return entityCache.GetEntityPool(entityID, poolID)
534}
535
536func GetEntityScaleSet(entityID string, scaleSetID uint) (params.ScaleSet, bool) {
537 return entityCache.GetEntityScaleSet(entityID, scaleSetID)

Callers 1

TestGetEntityPoolMethod · 0.85

Calls 1

GetEntityPoolMethod · 0.65

Tested by 1

TestGetEntityPoolMethod · 0.68