Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/akuity/kargo
/ Get
Method
Get
pkg/credentials/database.go:7–7 ·
view source on GitHub ↗
( ctx context.Context, namespace string, credType Type, repo string, )
Source
from the content-addressed store, hash-verified
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,
Callers
12
Get
Method · 0.65
TestGet
Function · 0.65
TestAppCredentialProvider_getUsernameAndPassword
Function · 0.65
getUsernameAndPassword
Method · 0.65
TestWorkloadIdentityFederationProvider_GetCredentials
Function · 0.65
GetCredentials
Method · 0.65
GetCredentials
Method · 0.65
TestWorkloadIdentityProvider_GetCredentials
Function · 0.65
GetCredentials
Method · 0.65
GetCredentials
Method · 0.65
TestAccessKeyProvider_GetCredentials
Function · 0.65
GetCredentials
Method · 0.65
Implementers
9
FakeDB
pkg/credentials/database.go
database
pkg/credentials/kubernetes/database.go
fakeWorkQueue
pkg/controller/management/replication/
mockPullRequestClient
pkg/gitprovider/bitbucket/bitbucket_te
rolesDatabase
pkg/server/rbac/roles.go
client
pkg/server/kubernetes/client.go
authorizingSubResourceClient
pkg/server/kubernetes/client.go
fakeIssuesClient
pkg/governance/github_client_test.go
fakePullRequestsClient
pkg/governance/github_client_test.go
Calls
no outgoing calls
Tested by
5
TestGet
Function · 0.52
TestAppCredentialProvider_getUsernameAndPassword
Function · 0.52
TestWorkloadIdentityFederationProvider_GetCredentials
Function · 0.52
TestWorkloadIdentityProvider_GetCredentials
Function · 0.52
TestAccessKeyProvider_GetCredentials
Function · 0.52