@Configuration(proxyBeanMethods=false)
@ConditionalOnDiscoveryEnabled
@ConditionalOnProperty(name="spring.cloud.kubernetes.enabled",
matchIfMissing=true)
@AutoConfigureAfter(value=org.springframework.cloud.kubernetes.fabric8.Fabric8AutoConfiguration.class)
public class KubernetesCatalogWatchAutoConfiguration
extends Object
| Constructor and Description |
|---|
KubernetesCatalogWatchAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
KubernetesCatalogWatch |
kubernetesCatalogWatch(io.fabric8.kubernetes.client.KubernetesClient client,
org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryProperties properties) |
public KubernetesCatalogWatchAutoConfiguration()
@Bean
@ConditionalOnMissingBean
@ConditionalOnProperty(name="spring.cloud.kubernetes.discovery.catalog-services-watch.enabled",
matchIfMissing=true)
public KubernetesCatalogWatch kubernetesCatalogWatch(io.fabric8.kubernetes.client.KubernetesClient client,
org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryProperties properties)
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.