MCPcopy Create free account
hub / github.com/containerd/nerdctl / Lock

Method Lock

pkg/store/store.go:95–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93// Locker describes a locking mechanism that can be used to encapsulate operations in a safe way
94type Locker interface {
95 Lock() error
96 Release() error
97 WithLock(fun func() error) (err error)
98}

Callers 15

RunMethod · 0.65
WaitMethod · 0.65
SignalMethod · 0.65
ReadMethod · 0.65
CloseMethod · 0.65
upServicesMethod · 0.65
runServicesMethod · 0.65
PauseMethod · 0.65
UnpauseMethod · 0.65
LockFunction · 0.65
WriteMethod · 0.65
StringMethod · 0.65

Implementers 1

fileStorepkg/store/filestore.go

Calls

no outgoing calls

Tested by 3

WriteLogEntryMethod · 0.52
TestFileStoreBasicsFunction · 0.52
TestFileStoreGroupsFunction · 0.52