# Packages
No description provided by the author
Package leases implements logic for determining the state of shards based on their membership Lease object.
No description provided by the author
No description provided by the author
# Functions
KeyForController returns a ring key for the controller of the given object.
KeyForObject returns a ring key for the given object itself.
KeyFuncForResource returns the key function that maps the given resource or its controller dependening on whether the resource is listed as a resource or controlled resource in the given ring.
# Interfaces
Ring is the interface that is implemented by all ring objects that the sharder can handle.
# Type aliases
KeyFunc maps objects to hash keys.