Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudbase/garm
/ DeleteCredentials
Method
DeleteCredentials
cache/credentials_cache.go:89–94 ·
view source on GitHub ↗
(id uint)
Source
from the content-addressed store, hash-verified
87
}
88
89
func
(g *CredentialCache) DeleteCredentials(id uint) {
90
g.mux.Lock()
91
defer
g.mux.Unlock()
92
93
delete(g.cache, id)
94
}
95
96
func
(g *CredentialCache) GetAllCredentials() []params.ForgeCredentials {
97
g.mux.Lock()
Callers
nothing calls this directly
Calls
2
Lock
Method · 0.65
Unlock
Method · 0.65
Tested by
no test coverage detected