Uses of Class
io.fabric8.kubernetes.client.extended.leaderelection.resourcelock.LeaderElectionRecord
| Package | Description |
|---|---|
| io.fabric8.kubernetes.client.extended.leaderelection |
Package leaderelection implements leader election of a set of endpoints.
|
| io.fabric8.kubernetes.client.extended.leaderelection.resourcelock |
-
Uses of LeaderElectionRecord in io.fabric8.kubernetes.client.extended.leaderelection
Methods in io.fabric8.kubernetes.client.extended.leaderelection with parameters of type LeaderElectionRecord Modifier and Type Method Description protected booleanLeaderElector. canBecomeLeader(LeaderElectionRecord leaderElectionRecord)protected booleanLeaderElector. isLeader(LeaderElectionRecord leaderElectionRecord) -
Uses of LeaderElectionRecord in io.fabric8.kubernetes.client.extended.leaderelection.resourcelock
Methods in io.fabric8.kubernetes.client.extended.leaderelection.resourcelock that return LeaderElectionRecord Modifier and Type Method Description <C extends Namespaceable<C> & KubernetesClient>
LeaderElectionRecordConfigMapLock. get(C client)Returns the currentLeaderElectionRecordor null if none.<C extends Namespaceable<C> & KubernetesClient>
LeaderElectionRecordLeaseLock. get(C client)Returns the currentLeaderElectionRecordor null if none.<C extends Namespaceable<C> & KubernetesClient>
LeaderElectionRecordLock. get(C client)Returns the currentLeaderElectionRecordor null if none.Methods in io.fabric8.kubernetes.client.extended.leaderelection.resourcelock with parameters of type LeaderElectionRecord Modifier and Type Method Description <C extends Namespaceable<C> & KubernetesClient>
voidConfigMapLock. create(C client, LeaderElectionRecord leaderElectionRecord)Attempt to create a newLeaderElectionRecord.<C extends Namespaceable<C> & KubernetesClient>
voidLeaseLock. create(C client, LeaderElectionRecord leaderElectionRecord)Attempt to create a newLeaderElectionRecord.<C extends Namespaceable<C> & KubernetesClient>
voidLock. create(C client, LeaderElectionRecord leaderElectionRecord)Attempt to create a newLeaderElectionRecord.<C extends Namespaceable<C> & KubernetesClient>
voidConfigMapLock. update(C client, LeaderElectionRecord leaderElectionRecord)Attempts to update the currentLeaderElectionRecord.<C extends Namespaceable<C> & KubernetesClient>
voidLeaseLock. update(C client, LeaderElectionRecord leaderElectionRecord)Attempts to update the currentLeaderElectionRecord.<C extends Namespaceable<C> & KubernetesClient>
voidLock. update(C client, LeaderElectionRecord leaderElectionRecord)Attempts to update the currentLeaderElectionRecord.