Class ConfigMapLock
java.lang.Object
io.kubernetes.client.extended.leaderelection.resourcelock.ConfigMapLock
- All Implemented Interfaces:
Lock
-
Constructor Summary
ConstructorsConstructorDescriptionConfigMapLock(String namespace, String name, String identity) ConfigMapLock(String namespace, String name, String identity, io.kubernetes.client.openapi.ApiClient apiClient) -
Method Summary
Modifier and TypeMethodDescriptionbooleancreate(LeaderElectionRecord record) create attempts to create a LeaderElectionRecorddescribe()Describe is used to convert details on current resource lock into a stringget()get returns the LeaderElectionRecord which contains the information about the current lock holderidentity()identity returns the locks Identitybooleanupdate(LeaderElectionRecord record) update attempts to update the existing LeaderElectionRecord
-
Constructor Details
-
ConfigMapLock
-
ConfigMapLock
-
-
Method Details
-
get
Description copied from interface:Lockget returns the LeaderElectionRecord which contains the information about the current lock holder -
create
Description copied from interface:Lockcreate attempts to create a LeaderElectionRecord -
update
Description copied from interface:Lockupdate attempts to update the existing LeaderElectionRecord -
identity
Description copied from interface:Lockidentity returns the locks Identity -
describe
Description copied from interface:LockDescribe is used to convert details on current resource lock into a string
-