Versions in this module Expand all Collapse all v0 v0.4.0 Mar 28, 2017 Changes in this version + func NewElection(electionId, id, namespace string, ttl time.Duration, ...) (*leaderelection.LeaderElector, error) + func NewSimpleElection(electionId, id string, callback func(leader string), c client.Interface) (*leaderelection.LeaderElector, error) + func RunElection(e *leaderelection.LeaderElector)