public class Fabric8LeadershipController
extends org.springframework.cloud.kubernetes.commons.leader.LeadershipController
| Constructor and Description |
|---|
Fabric8LeadershipController(org.springframework.integration.leader.Candidate candidate,
org.springframework.cloud.kubernetes.commons.leader.LeaderProperties leaderProperties,
org.springframework.integration.leader.event.LeaderEventPublisher leaderEventPublisher,
io.fabric8.kubernetes.client.KubernetesClient kubernetesClient) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.cloud.kubernetes.commons.leader.PodReadinessWatcher |
createPodReadinessWatcher(String localLeaderId) |
void |
revoke() |
void |
update() |
public Fabric8LeadershipController(org.springframework.integration.leader.Candidate candidate,
org.springframework.cloud.kubernetes.commons.leader.LeaderProperties leaderProperties,
org.springframework.integration.leader.event.LeaderEventPublisher leaderEventPublisher,
io.fabric8.kubernetes.client.KubernetesClient kubernetesClient)
public void update()
update in class org.springframework.cloud.kubernetes.commons.leader.LeadershipControllerpublic void revoke()
revoke in class org.springframework.cloud.kubernetes.commons.leader.LeadershipControllerprotected org.springframework.cloud.kubernetes.commons.leader.PodReadinessWatcher createPodReadinessWatcher(String localLeaderId)
createPodReadinessWatcher in class org.springframework.cloud.kubernetes.commons.leader.LeadershipControllerCopyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.