| 235 | } |
| 236 | |
| 237 | type Runner struct { |
| 238 | mux sync.Mutex |
| 239 | |
| 240 | config config.Config |
| 241 | ctx context.Context |
| 242 | store dbCommon.Store |
| 243 | tokenGetter auth.InstanceTokenGetter |
| 244 | |
| 245 | poolManagerCtrl PoolManagerController |
| 246 | |
| 247 | providers map[string]common.Provider |
| 248 | backoff *workersCommon.Backoff |
| 249 | quit chan struct{} |
| 250 | running bool |
| 251 | |
| 252 | failedEntities map[string]failedEntity |
| 253 | reposLoaded bool |
| 254 | orgsLoaded bool |
| 255 | enterprisesLoaded bool |
| 256 | } |
| 257 | |
| 258 | // UpdateController will update the controller settings. |
| 259 | func (r *Runner) UpdateController(ctx context.Context, param params.UpdateControllerParams) (params.ControllerInfo, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected