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 TypeMethodDescriptionboolean
create
(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 Identityboolean
update
(LeaderElectionRecord record) update attempts to update the existing LeaderElectionRecord
-
Constructor Details
-
ConfigMapLock
-
ConfigMapLock
-
-
Method Details
-
get
Description copied from interface:Lock
get returns the LeaderElectionRecord which contains the information about the current lock holder -
create
Description copied from interface:Lock
create attempts to create a LeaderElectionRecord -
update
Description copied from interface:Lock
update attempts to update the existing LeaderElectionRecord -
identity
Description copied from interface:Lock
identity returns the locks Identity -
describe
Description copied from interface:Lock
Describe is used to convert details on current resource lock into a string
-