| Constructor and Description |
|---|
ConfigMapLock(java.lang.String namespace,
java.lang.String name,
java.lang.String identity) |
ConfigMapLock(java.lang.String namespace,
java.lang.String name,
java.lang.String identity,
io.kubernetes.client.ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
create(LeaderElectionRecord record)
create attempts to create a LeaderElectionRecord
|
java.lang.String |
describe()
Describe is used to convert details on current resource lock into a string
|
LeaderElectionRecord |
get()
get returns the LeaderElectionRecord which contains the information about the current lock
holder
|
java.lang.String |
identity()
identity returns the locks Identity
|
boolean |
update(LeaderElectionRecord record)
update attempts to update the existing LeaderElectionRecord
|
public ConfigMapLock(java.lang.String namespace,
java.lang.String name,
java.lang.String identity)
public ConfigMapLock(java.lang.String namespace,
java.lang.String name,
java.lang.String identity,
io.kubernetes.client.ApiClient apiClient)
public LeaderElectionRecord get() throws io.kubernetes.client.ApiException
Lockpublic boolean create(LeaderElectionRecord record)
Lockpublic boolean update(LeaderElectionRecord record)
Lockpublic java.lang.String identity()
LockCopyright © 2019. All rights reserved.