public class KubernetesReactiveDiscoveryClient extends Object implements org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
ReactiveDiscoveryClient. Currently relies on the
KubernetesDiscoveryClient for feature parity.| Constructor and Description |
|---|
KubernetesReactiveDiscoveryClient(io.fabric8.kubernetes.client.KubernetesClient client,
org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryProperties properties,
KubernetesClientServicesFunction kubernetesClientServicesFunction) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
reactor.core.publisher.Flux<org.springframework.cloud.client.ServiceInstance> |
getInstances(String serviceId) |
reactor.core.publisher.Flux<String> |
getServices() |
public KubernetesReactiveDiscoveryClient(io.fabric8.kubernetes.client.KubernetesClient client,
org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryProperties properties,
KubernetesClientServicesFunction kubernetesClientServicesFunction)
public String description()
description in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClientpublic reactor.core.publisher.Flux<org.springframework.cloud.client.ServiceInstance> getInstances(String serviceId)
getInstances in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClientpublic reactor.core.publisher.Flux<String> getServices()
getServices in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClientCopyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.