Constructor and Description |
---|
EndpointsLock(java.lang.String namespace,
java.lang.String name,
java.lang.String identity) |
EndpointsLock(java.lang.String namespace,
java.lang.String name,
java.lang.String identity,
io.kubernetes.client.openapi.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 EndpointsLock(java.lang.String namespace, java.lang.String name, java.lang.String identity)
public EndpointsLock(java.lang.String namespace, java.lang.String name, java.lang.String identity, io.kubernetes.client.openapi.ApiClient apiClient)
public LeaderElectionRecord get() throws io.kubernetes.client.openapi.ApiException
Lock
public boolean create(LeaderElectionRecord record)
Lock
public boolean update(LeaderElectionRecord record)
Lock
public java.lang.String identity()
Lock
Copyright © 2020. All rights reserved.