Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudbase/garm
/ Unlock
Method
Unlock
locking/interface.go:27–27 ·
view source on GitHub ↗
(key string, remove bool)
Source
from the content-addressed store, hash-verified
25
LockWithContext(ctx context.Context, key, identifier string) error
26
LockedBy(key string) (string, bool)
27
Unlock(key string, remove bool)
28
Delete(key string)
29
}
30
Callers
15
SetTemplateCache
Method · 0.65
GetTemplate
Method · 0.65
DeleteTemplate
Method · 0.65
Get
Method · 0.65
Set
Method · 0.65
SetToolsError
Method · 0.65
Delete
Method · 0.65
SetCredentialsRateLimit
Method · 0.65
UpdateCredentialsUsingEndpoint
Method · 0.65
SetCredentials
Method · 0.65
GetCredentials
Method · 0.65
DeleteCredentials
Method · 0.65
Implementers
1
keyMutex
locking/local_locker.go
Calls
no outgoing calls
Tested by
5
TearDownTest
Method · 0.52
TestLocalLockerLockUnlock
Method · 0.52
TestLocalLockerTryLock
Method · 0.52
TestLocalLockertLockedBy
Method · 0.52
syncJobsFromDB
Method · 0.52