Method
CalculateActions
(ctx context.Context, snapshot prebuilds.PresetSnapshot)
Source from the content-addressed store, hash-verified
| 689 | } |
| 690 | |
| 691 | func (c *StoreReconciler) CalculateActions(ctx context.Context, snapshot prebuilds.PresetSnapshot) ([]*prebuilds.ReconciliationActions, error) { |
| 692 | if ctx.Err() != nil { |
| 693 | return nil, ctx.Err() |
| 694 | } |
| 695 | |
| 696 | return snapshot.CalculateActions(c.cfg.ReconciliationBackoffInterval.Value()) |
| 697 | } |
| 698 | |
| 699 | func (c *StoreReconciler) WithReconciliationLock( |
| 700 | ctx context.Context, |