MCPcopy
hub / github.com/cilium/cilium / Unlock

Method Unlock

pkg/kvstore/lock.go:35–35  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

33
34type KVLocker interface {
35 Unlock(ctx context.Context) error
36 // Comparator returns an object that should be used by the KVStore to make
37 // sure if the lock is still valid for its client or nil if no such
38 // verification exists.

Callers 15

AddAddressMethod · 0.65
RemoveAddressMethod · 0.65
OnListDoneMethod · 0.65
OnUpsertMethod · 0.65
OnDeleteMethod · 0.65
onDeleteLockedMethod · 0.65
startMethod · 0.65
drainMethod · 0.65
drainIfMethod · 0.65
insertMethod · 0.65
lockedAllocateMethod · 0.65
ReleaseMethod · 0.65

Implementers 4

dummyLockpkg/allocator/allocator_test.go
crdLockpkg/k8s/identitybackend/identity.go
etcdMutexpkg/kvstore/etcd.go
Lockpkg/kvstore/lock.go

Calls

no outgoing calls

Tested by 15

DeleteAllKeysMethod · 0.52
DeleteIDMethod · 0.52
AllocateIDMethod · 0.52
AcquireReferenceMethod · 0.52
updateMasterKeyMethod · 0.52
updateSlaveKeyMethod · 0.52
ReleaseMethod · 0.52
ListIDsMethod · 0.52
ListAndWatchMethod · 0.52
TestSelectIDFunction · 0.52