public class BusEventBasedSecretsWatcherChangeDetector extends SecretsWatcherChangeDetector implements org.springframework.context.ApplicationEventPublisherAware
k8SConfigurationProperties, log| Constructor and Description |
|---|
BusEventBasedSecretsWatcherChangeDetector(org.springframework.core.env.AbstractEnvironment environment,
org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties,
io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy strategy,
org.springframework.cloud.kubernetes.fabric8.config.Fabric8SecretsPropertySourceLocator fabric8SecretsPropertySourceLocator,
org.springframework.cloud.bus.BusProperties busProperties,
ConfigurationWatcherConfigurationProperties k8SConfigurationProperties,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) |
protected reactor.core.publisher.Mono<Void> |
triggerRefresh(io.fabric8.kubernetes.api.model.Secret secret) |
isSpringCloudKubernetesSecret, onEventshutdown, unwatch, watchpublic BusEventBasedSecretsWatcherChangeDetector(org.springframework.core.env.AbstractEnvironment environment,
org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties,
io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy strategy,
org.springframework.cloud.kubernetes.fabric8.config.Fabric8SecretsPropertySourceLocator fabric8SecretsPropertySourceLocator,
org.springframework.cloud.bus.BusProperties busProperties,
ConfigurationWatcherConfigurationProperties k8SConfigurationProperties,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor)
protected reactor.core.publisher.Mono<Void> triggerRefresh(io.fabric8.kubernetes.api.model.Secret secret)
triggerRefresh in class SecretsWatcherChangeDetectorpublic void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAwareCopyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.