| 97 | } |
| 98 | |
| 99 | type poolManagerCtrl struct { |
| 100 | mux sync.Mutex |
| 101 | |
| 102 | config config.Config |
| 103 | store dbCommon.Store |
| 104 | token auth.InstanceTokenGetter |
| 105 | |
| 106 | repositories map[string]common.PoolManager |
| 107 | organizations map[string]common.PoolManager |
| 108 | enterprises map[string]common.PoolManager |
| 109 | } |
| 110 | |
| 111 | func (p *poolManagerCtrl) CreateRepoPoolManager(ctx context.Context, repo params.Repository, providers map[string]common.Provider, store dbCommon.Store) (common.PoolManager, error) { |
| 112 | p.mux.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected