public class HttpBasedConfigMapWatchChangeDetector extends ConfigMapWatcherChangeDetector
| Modifier and Type | Field and Description |
|---|---|
static String |
ANNOTATION_KEY
Annotation key for actuator port and path.
|
k8SConfigurationProperties| Constructor and Description |
|---|
HttpBasedConfigMapWatchChangeDetector(org.springframework.core.env.AbstractEnvironment environment,
org.springframework.cloud.kubernetes.config.reload.ConfigReloadProperties properties,
io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
org.springframework.cloud.kubernetes.config.reload.ConfigurationUpdateStrategy strategy,
org.springframework.cloud.kubernetes.config.ConfigMapPropertySourceLocator configMapPropertySourceLocator,
ConfigurationWatcherConfigurationProperties k8SConfigurationProperties,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor,
org.springframework.web.reactive.function.client.WebClient webClient,
org.springframework.cloud.kubernetes.discovery.reactive.KubernetesReactiveDiscoveryClient k8sReactiveDiscoveryClient) |
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Flux<org.springframework.http.ResponseEntity<Void>> |
refresh(io.fabric8.kubernetes.api.model.ObjectMeta objectMeta) |
protected reactor.core.publisher.Mono<Void> |
triggerRefresh(io.fabric8.kubernetes.api.model.ConfigMap configMap) |
isSpringCloudKubernetesConfig, onEventunwatch, watchpublic static String ANNOTATION_KEY
public HttpBasedConfigMapWatchChangeDetector(org.springframework.core.env.AbstractEnvironment environment,
org.springframework.cloud.kubernetes.config.reload.ConfigReloadProperties properties,
io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
org.springframework.cloud.kubernetes.config.reload.ConfigurationUpdateStrategy strategy,
org.springframework.cloud.kubernetes.config.ConfigMapPropertySourceLocator configMapPropertySourceLocator,
ConfigurationWatcherConfigurationProperties k8SConfigurationProperties,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor,
org.springframework.web.reactive.function.client.WebClient webClient,
org.springframework.cloud.kubernetes.discovery.reactive.KubernetesReactiveDiscoveryClient k8sReactiveDiscoveryClient)
protected reactor.core.publisher.Flux<org.springframework.http.ResponseEntity<Void>> refresh(io.fabric8.kubernetes.api.model.ObjectMeta objectMeta)
protected reactor.core.publisher.Mono<Void> triggerRefresh(io.fabric8.kubernetes.api.model.ConfigMap configMap)
triggerRefresh in class ConfigMapWatcherChangeDetectorCopyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.