Remove some blocking code
* added 2 new statuses: creating and deleting * remove wait on create/delete, speeding things up a bit
This commit is contained in:
parent
e7eb13acc9
commit
98eb594cd6
4 changed files with 86 additions and 63 deletions
|
|
@ -65,6 +65,8 @@ type Store interface {
|
|||
ListRepoInstances(ctx context.Context, repoID string) ([]params.Instance, error)
|
||||
ListOrgInstances(ctx context.Context, orgID string) ([]params.Instance, error)
|
||||
|
||||
PoolInstanceCount(ctx context.Context, poolID string) (int64, error)
|
||||
|
||||
// Probably a bad idea without some king of filter or at least pagination
|
||||
// TODO: add filter/pagination
|
||||
ListAllInstances(ctx context.Context) ([]params.Instance, error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue