Documentation
¶
Overview ¶
Package supervisorlock provides exclusive locking for governator supervisors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLockHeld = errors.New("supervisor lock already held")
ErrLockHeld indicates a supervisor lock is already held.
View Source
var ErrStaleLock = errors.New("stale supervisor lock")
ErrStaleLock indicates lock metadata references a non-running process.
Functions ¶
func IsStaleLockError ¶ added in v1.0.4
IsStaleLockError reports whether the provided error indicates stale lock metadata.
Types ¶
Click to show internal directories.
Click to hide internal directories.