MCPcopy Index your code
hub / github.com/coder/coder / Run

Method Run

coderd/prebuilds/api.go:28–28  ·  view source on GitHub ↗

Run starts a continuous reconciliation loop that periodically calls ReconcileAll to ensure all prebuilds are in their desired states. The loop runs until the context is canceled or Stop is called.

(ctx context.Context)

Source from the content-addressed store, hash-verified

26 // to ensure all prebuilds are in their desired states. The loop runs until the context
27 // is canceled or Stop is called.
28 Run(ctx context.Context)
29
30 // Stop gracefully shuts down the orchestrator with the given cause.
31 // The cause is used for logging and error reporting.

Callers 15

TestUserSecretAuditFunction · 0.65
Test_ExperimentsFunction · 0.65
TestGenericInsights_RBACFunction · 0.65
TestGetUserStatusCountsFunction · 0.65
TestExternalAuthByIDFunction · 0.65

Implementers 2

NoopReconcilercoderd/prebuilds/noop.go
StoreReconcilerenterprise/coderd/prebuilds/reconcile.

Calls

no outgoing calls

Tested by 15

TestUserSecretAuditFunction · 0.52
Test_ExperimentsFunction · 0.52
TestGenericInsights_RBACFunction · 0.52
TestGetUserStatusCountsFunction · 0.52
TestExternalAuthByIDFunction · 0.52