database is an implementation of the credentials.Database interface that utilizes a Kubernetes controller runtime client to retrieve credentials stored in Kubernetes Secrets.
| 23 | // utilizes a Kubernetes controller runtime client to retrieve credentials |
| 24 | // stored in Kubernetes Secrets. |
| 25 | type database struct { |
| 26 | controlPlaneClient client.Client |
| 27 | localClusterClient client.Client |
| 28 | credentialProvidersRegistry credentials.ProviderRegistry |
| 29 | cfg DatabaseConfig |
| 30 | } |
| 31 | |
| 32 | // DatabaseConfig represents configuration for a Kubernetes based implementation |
| 33 | // of the credentials.Database interface. |
nothing calls this directly
no outgoing calls
no test coverage detected