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

Struct poolManagerCtrl

runner/runner.go:99–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99type 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
111func (p *poolManagerCtrl) CreateRepoPoolManager(ctx context.Context, repo params.Repository, providers map[string]common.Provider, store dbCommon.Store) (common.PoolManager, error) {
112 p.mux.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected