@Configuration(proxyBeanMethods=false) @ConditionalOnDiscoveryEnabled @ConditionalOnReactiveDiscoveryEnabled @ConditionalOnKubernetesEnabled @ConditionalOnKubernetesDiscoveryEnabled @AutoConfigureBefore(value={org.springframework.cloud.client.discovery.simple.reactive.SimpleReactiveDiscoveryClientAutoConfiguration.class,org.springframework.cloud.client.ReactiveCommonsClientAutoConfiguration.class}) @AutoConfigureAfter(value={org.springframework.cloud.client.discovery.composite.reactive.ReactiveCompositeDiscoveryClientAutoConfiguration.class,KubernetesDiscoveryClientAutoConfiguration.class}) public class KubernetesReactiveDiscoveryClientAutoConfiguration extends Object
| Constructor and Description |
|---|
KubernetesReactiveDiscoveryClientAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
KubernetesReactiveDiscoveryClient |
kubernetesReactiveDiscoveryClient(io.fabric8.kubernetes.client.KubernetesClient client,
org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryProperties properties,
KubernetesClientServicesFunction kubernetesClientServicesFunction) |
org.springframework.cloud.client.discovery.health.reactive.ReactiveDiscoveryClientHealthIndicator |
kubernetesReactiveDiscoveryClientHealthIndicator(KubernetesReactiveDiscoveryClient client,
org.springframework.cloud.client.discovery.health.DiscoveryClientHealthIndicatorProperties properties) |
public KubernetesReactiveDiscoveryClientAutoConfiguration()
@Bean @ConditionalOnMissingBean public KubernetesReactiveDiscoveryClient kubernetesReactiveDiscoveryClient(io.fabric8.kubernetes.client.KubernetesClient client, org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryProperties properties, KubernetesClientServicesFunction kubernetesClientServicesFunction)
@Bean @ConditionalOnClass(name="org.springframework.boot.actuate.health.ReactiveHealthIndicator") @ConditionalOnDiscoveryHealthIndicatorEnabled public org.springframework.cloud.client.discovery.health.reactive.ReactiveDiscoveryClientHealthIndicator kubernetesReactiveDiscoveryClientHealthIndicator(KubernetesReactiveDiscoveryClient client, org.springframework.cloud.client.discovery.health.DiscoveryClientHealthIndicatorProperties properties)
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.