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

Method CreateEntityPool

database/common/store.go:135–135  ·  view source on GitHub ↗
(ctx context.Context, entity params.ForgeEntity, param params.CreatePoolParams)

Source from the content-addressed store, hash-verified

133
134type EntityPoolStore interface {
135 CreateEntityPool(ctx context.Context, entity params.ForgeEntity, param params.CreatePoolParams) (params.Pool, error)
136 GetEntityPool(ctx context.Context, entity params.ForgeEntity, poolID string) (params.Pool, error)
137 DeleteEntityPool(ctx context.Context, entity params.ForgeEntity, poolID string) error
138 UpdateEntityPool(ctx context.Context, entity params.ForgeEntity, poolID string, param params.UpdatePoolParams) (params.Pool, error)

Implementers 3

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

Calls

no outgoing calls