ashmrtn 09531de08c
Cleanup API for BackupBases (#4471)
Update the BackupBases API to return BackupBase
structs that contain both the snapshot and backup
model instead of having separate functions for
each. Minor logic updates to accommodate these
changes

This PR also updates tests and mock code for the
new API

Suggest viewing 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)

* closes #3943

#### Test Plan

- [ ] 💪 Manual
- [x]  Unit test
- [x] 💚 E2E
2023-10-26 18:38:14 +00:00
..
2022-09-07 15:50:54 -06:00
2023-09-12 20:01:16 +00: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.