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

Struct Runner

runner/runner.go:237–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237type 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.
259func (r *Runner) UpdateController(ctx context.Context, param params.UpdateControllerParams) (params.ControllerInfo, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected