Database is an interface for a Credentials store.
| 4 | |
| 5 | // Database is an interface for a Credentials store. |
| 6 | type Database interface { |
| 7 | Get( |
| 8 | ctx context.Context, |
| 9 | namespace string, |
| 10 | credType Type, |
| 11 | repo string, |
| 12 | ) (*Credentials, error) |
| 13 | } |
| 14 | |
| 15 | // FakeDB is a mock implementation of the Database interface that is used to |
| 16 | // facilitate unit testing. |
no outgoing calls
no test coverage detected