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

Method PoolInstanceCount

database/common/store.go:80–80  ·  view source on GitHub ↗
(ctx context.Context, poolID string)

Source from the content-addressed store, hash-verified

78 ListPoolInstances(ctx context.Context, poolID string, oudatedOnly bool) ([]params.Instance, error)
79
80 PoolInstanceCount(ctx context.Context, poolID string) (int64, error)
81 FindPoolsMatchingAllTags(ctx context.Context, entityType params.ForgeEntityType, entityID string, tags []string) ([]params.Pool, error)
82}
83

Implementers 3

sqlDatabasedatabase/sql/sql.go
Storedatabase/common/mocks/Store.go
Store_Expecterdatabase/common/mocks/Store.go

Calls

no outgoing calls