package
3.0.4
Repository: https://github.com/openebs/api.git
Documentation: pkg.go.dev

# Functions

NewLeaderElection returns the default & preferred leader election type.
NewLeaderElectionWithConfigMaps returns an implementation of leader election using ConfigMaps.
NewLeaderElectionWithEndpoints returns an implementation of leader election using Endpoints.
NewLeaderElectionWithLeases returns an implementation of leader election using Leases.

# Structs

LeaderElection is a convenience wrapper around client-go's leader election library.