MCPcopy Create free account
hub / github.com/coder/coder / CalculateActions

Method CalculateActions

coderd/prebuilds/noop.go:29–31  ·  view source on GitHub ↗
(context.Context, PresetSnapshot)

Source from the content-addressed store, hash-verified

27}
28func (NoopReconciler) ReconcilePreset(context.Context, PresetSnapshot) error { return nil }
29func (NoopReconciler) CalculateActions(context.Context, PresetSnapshot) (*ReconciliationActions, error) {
30 return &ReconciliationActions{}, nil
31}
32
33var DefaultReconciler ReconciliationOrchestrator = NoopReconciler{}
34

Callers 12

TestNoPrebuildsFunction · 0.45
TestNetNewFunction · 0.45
TestOutdatedPrebuildsFunction · 0.45
TestInProgressActionsFunction · 0.45
TestExtraneousFunction · 0.45
TestExpiredPrebuildsFunction · 0.45
TestDeprecatedFunction · 0.45
TestLatestBuildFailedFunction · 0.45
TestPrebuildSchedulingFunction · 0.45

Calls

no outgoing calls

Tested by 12

TestNoPrebuildsFunction · 0.36
TestNetNewFunction · 0.36
TestOutdatedPrebuildsFunction · 0.36
TestInProgressActionsFunction · 0.36
TestExtraneousFunction · 0.36
TestExpiredPrebuildsFunction · 0.36
TestDeprecatedFunction · 0.36
TestLatestBuildFailedFunction · 0.36
TestPrebuildSchedulingFunction · 0.36