Constructor and Description |
---|
LeaseLock(String namespace,
String name,
String identity) |
LeaseLock(String namespace,
String name,
String identity,
io.kubernetes.client.openapi.ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
boolean |
create(LeaderElectionRecord record)
create attempts to create a LeaderElectionRecord
|
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
|
String |
identity()
identity returns the locks Identity
|
boolean |
update(LeaderElectionRecord record)
update attempts to update the existing LeaderElectionRecord
|
public LeaderElectionRecord get() throws io.kubernetes.client.openapi.ApiException
Lock
public boolean create(LeaderElectionRecord record)
Lock
public boolean update(LeaderElectionRecord record)
Lock
public String identity()
Lock
Copyright © 2022. All rights reserved.