ashmrtn d36636285a
Use service-handler for restore operations (#4714)
Switch restore code path to use service-level handlers. Does a few
things:
* switches existing service-level functions to be methods on
  service-level handlers
* update interfaces as necessary
* moves some logic from old controller-level restore function to either
  the new handlers or the operation-level function
* removes old code

May be easiest to review by commit

---

#### Does this PR need a docs update or release note?

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [x]  No

#### Type of change

- [ ] 🌻 Feature
- [ ] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Supportability/Tests
- [ ] 💻 CI/Deployment
- [x] 🧹 Tech Debt/Cleanup

#### Issue(s)

* #4254

#### Test Plan

- [ ] 💪 Manual
- [x]  Unit test
- [x] 💚 E2E
2023-11-28 16:47:45 +00:00
..
2022-09-07 15:50:54 -06:00
2023-04-12 23:30:38 +00:00
2022-07-11 08:47:15 -07:00

SRC Directory

/pkg

API and Components which are exposed for external usage.

  • /pkg/repository
    Control layer for coordinating connections and communication with storage provider repositories.

  • /pkg/storage
    Manages compilation and validation of repository configuration and consts. Both those that are specific to storage providers, and those that are provider-agnostic.


/cli

Command Line Interface controller. Utilizes /pkg/repository as an external dependency.


/internal

Packages which are only intended for use within Corso.