# Packages
Package leaderelection implements leader election of a set of endpoints.
# Functions
NewInMemoryStore returns a new InMemoryStore instance.
NewKubeLocker returns a Locker that is backed by a lock in Kubernetes.
NewKubeStore returns a new KubeStore instance.
NewLocalLocker returns a new LocalLocker instance, which is backed by a golang lock.
# Structs
InMemoryStore is an implementation of Store that is backed by a golang map.
KubeLocker is an Locker that uses Kubernetes's leader election functionality for locking.
KubeStore is an implementation of Store that is backed by a Kubernetes configMap.
LocalLocker is an implementation of Locker that keeps track of locks in memory.