| Package | Description |
|---|---|
| io.fabric8.kubernetes.client.extended.leaderelection | |
| io.fabric8.kubernetes.client.extended.leaderelection.resourcelock |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
LeaderElector.canBecomeLeader(LeaderElectionRecord leaderElectionRecord) |
protected boolean |
LeaderElector.isLeader(LeaderElectionRecord leaderElectionRecord) |
| Modifier and Type | Method and Description |
|---|---|
LeaderElectionRecord |
LeaseLock.get(KubernetesClient client)
Returns the current
LeaderElectionRecord or null if none. |
LeaderElectionRecord |
ConfigMapLock.get(KubernetesClient client)
Returns the current
LeaderElectionRecord or null if none. |
LeaderElectionRecord |
Lock.get(KubernetesClient client)
Returns the current
LeaderElectionRecord or null if none. |
| Modifier and Type | Method and Description |
|---|---|
void |
LeaseLock.create(KubernetesClient client,
LeaderElectionRecord leaderElectionRecord)
Attempt to create a new
LeaderElectionRecord. |
void |
ConfigMapLock.create(KubernetesClient client,
LeaderElectionRecord leaderElectionRecord)
Attempt to create a new
LeaderElectionRecord. |
void |
Lock.create(KubernetesClient client,
LeaderElectionRecord leaderElectionRecord)
Attempt to create a new
LeaderElectionRecord. |
void |
LeaseLock.update(KubernetesClient client,
LeaderElectionRecord leaderElectionRecord)
Attempts to update the current
LeaderElectionRecord. |
void |
ConfigMapLock.update(KubernetesClient client,
LeaderElectionRecord leaderElectionRecord)
Attempts to update the current
LeaderElectionRecord. |
void |
Lock.update(KubernetesClient client,
LeaderElectionRecord leaderElectionRecord)
Attempts to update the current
LeaderElectionRecord. |
Copyright © 2015–2022 Red Hat. All rights reserved.