kubernetes_asyncio.leaderelection.leaderelection module

class kubernetes_asyncio.leaderelection.leaderelection.LeaderElection(election_config: Config)

Bases: object

async acquire() bool
async renew_loop() None
async run() None
async try_acquire_or_renew() bool
async update_lock(leader_election_record: LeaderElectionRecord) bool