Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LeaseClaimDeniedErr = errors.New("lease claim denied") NotLeaseOwnerErr = errors.Unauthorizedf("caller did not own lease for namespace") )
Functions ¶
func WorkerLoop ¶
func WorkerLoop(persistor leasePersistor) func(<-chan struct{}) error
WorkerLoop returns a function which can be utilized within a worker.
Types ¶
Click to show internal directories.
Click to hide internal directories.