MCPcopy 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
89func (g *CredentialCache) DeleteCredentials(id uint) {
90 g.mux.Lock()
91 defer g.mux.Unlock()
92
93 delete(g.cache, id)
94}
95
96func (g *CredentialCache) GetAllCredentials() []params.ForgeCredentials {
97 g.mux.Lock()

Callers

nothing calls this directly

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected