| 15 | ) |
| 16 | |
| 17 | type stubUpdateManager struct { |
| 18 | checkFn func(context.Context, aghupdate.CheckOptions) (aghupdate.State, *aghupdate.Release, error) |
| 19 | applyFn func(context.Context, *aghupdate.Release) (aghupdate.AppliedBinary, error) |
| 20 | restoreFn func(aghupdate.AppliedBinary) error |
| 21 | finalizeFn func(aghupdate.AppliedBinary) error |
| 22 | } |
| 23 | |
| 24 | func (s stubUpdateManager) Check( |
| 25 | ctx context.Context, |
nothing calls this directly
no outgoing calls
no test coverage detected