()
| 434 | } |
| 435 | |
| 436 | func (e *EntityCache) GetAllPools() []params.Pool { |
| 437 | e.mux.Lock() |
| 438 | defer e.mux.Unlock() |
| 439 | |
| 440 | var pools []params.Pool |
| 441 | for _, pool := range e.pools { |
| 442 | pools = append(pools, pool) |
| 443 | } |
| 444 | sortByCreationDate(pools) |
| 445 | return pools |
| 446 | } |
| 447 | |
| 448 | func (e *EntityCache) GetAllScaleSets() []params.ScaleSet { |
| 449 | e.mux.Lock() |
no test coverage detected