Versions in this module Expand all Collapse all v1 v1.0.1 Aug 8, 2022 v1.0.0 Aug 4, 2022 Changes in this version + var Name = "InMemory" + func New(clk clock.Clock) target.Locker + type InMemory struct + func (tl *InMemory) Close() error + func (tl *InMemory) Lock(ctx xcontext.Context, jobID types.JobID, duration time.Duration, ...) error + func (tl *InMemory) RefreshLocks(ctx xcontext.Context, jobID types.JobID, duration time.Duration, ...) error + func (tl *InMemory) TryLock(ctx xcontext.Context, jobID types.JobID, duration time.Duration, ...) ([]string, error) + func (tl *InMemory) Unlock(ctx xcontext.Context, jobID types.JobID, targets []*target.Target) error