Keepers 4a395d44a8
move graph connector creation to new op (#2923)
Moves the generation of graphConnector to the
NewBackupOp and NewRestoreOp constructors
inside the repository.  This removes gc creation
from the backup and restore operations, and
requires a reference to gc to exist in operations.

This sets up two changes: 1/ mocking of GC
within operation (the next PR will replace it with
an interface).  2/ the ability to perform a gc
validation step within the operation construction,
and thus the capacity to look up a resource owner
display name or id, and vice versa.

---

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

- [x]  No

#### Type of change

- [x] 🌻 Feature

#### Issue(s)

* #2825

#### Test Plan

- [x]  Unit test
- [x] 💚 E2E
2023-03-29 22:00:30 +00:00
..
2022-09-07 15:50:54 -06:00
2023-03-28 21:59:43 +00:00
2023-03-28 21:59:43 +00:00
2023-02-09 16:26:58 +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 exernal dependency.


/internal

Packages which are only intended for use within Corso.