repo-updater: Remove scheduler interface
Created by: ryanslade
We introduce a couple of cleanups here:
- Export the
repos.UpdateScheduler
type as it is reference a lot outside of therepos
package - Remove the
scheduler
interface from repo updater. There's no need for the indirection and we can just userepos.UpdateScheduler
directly. - Extracted some code into a
getPrivateAddedOrModifiedRepos
helper function
Test Plan
No functional changes, all unit test continue to pass.