Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudbase/garm
/ GetGithubCredentials
Function
GetGithubCredentials
cache/credentials_cache.go:126–128 ·
view source on GitHub ↗
(id uint)
Source
from the content-addressed store, hash-verified
124
}
125
126
func
GetGithubCredentials(id uint) (params.ForgeCredentials, bool) {
127
return
credentialsCache.GetCredentials(id)
128
}
129
130
func
DeleteGithubCredentials(id uint) {
131
credentialsCache.DeleteCredentials(id)
Callers
6
GetGithubCredentials
Method · 0.92
GetEntity
Method · 0.85
GetAllEntities
Method · 0.85
TestSetGithubCredentials
Method · 0.85
TestGetGithubCredentials
Method · 0.85
TestDeleteGithubCredentials
Method · 0.85
Calls
1
GetCredentials
Method · 0.65
Tested by
3
TestSetGithubCredentials
Method · 0.68
TestGetGithubCredentials
Method · 0.68
TestDeleteGithubCredentials
Method · 0.68