| Package | Description |
|---|---|
| io.kubernetes.client.extended.leaderelection | |
| io.kubernetes.client.extended.leaderelection.resourcelock |
| Modifier and Type | Method and Description |
|---|---|
LeaderElectionRecord |
Lock.get()
get returns the LeaderElectionRecord which contains the information about the current lock
holder
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Lock.create(LeaderElectionRecord record)
create attempts to create a LeaderElectionRecord
|
boolean |
Lock.update(LeaderElectionRecord record)
update attempts to update the existing LeaderElectionRecord
|
| Modifier and Type | Method and Description |
|---|---|
LeaderElectionRecord |
EndpointsLock.get() |
LeaderElectionRecord |
ConfigMapLock.get() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
EndpointsLock.create(LeaderElectionRecord record) |
boolean |
ConfigMapLock.create(LeaderElectionRecord record) |
boolean |
EndpointsLock.update(LeaderElectionRecord record) |
boolean |
ConfigMapLock.update(LeaderElectionRecord record) |
Copyright © 2019. All rights reserved.