MCPcopy
hub / github.com/akuity/kargo / database

Struct database

pkg/credentials/kubernetes/database.go:25–30  ·  view source on GitHub ↗

database is an implementation of the credentials.Database interface that utilizes a Kubernetes controller runtime client to retrieve credentials stored in Kubernetes Secrets.

Source from the content-addressed store, hash-verified

23// utilizes a Kubernetes controller runtime client to retrieve credentials
24// stored in Kubernetes Secrets.
25type 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected