public abstract class SecretsWatcherChangeDetector
extends org.springframework.cloud.kubernetes.config.reload.EventBasedSecretsChangeDetector
| Modifier and Type | Field and Description |
|---|---|
protected ConfigurationWatcherConfigurationProperties |
k8SConfigurationProperties |
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
SecretsWatcherChangeDetector(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.SecretsPropertySourceLocator secretsPropertySourceLocator,
ConfigurationWatcherConfigurationProperties k8SConfigurationProperties,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isSpringCloudKubernetesSecret(io.fabric8.kubernetes.api.model.Secret secret) |
protected void |
onEvent(io.fabric8.kubernetes.api.model.Secret secret) |
protected abstract reactor.core.publisher.Mono<Void> |
triggerRefresh(io.fabric8.kubernetes.api.model.Secret secret) |
unwatch, watchprotected org.apache.commons.logging.Log log
protected ConfigurationWatcherConfigurationProperties k8SConfigurationProperties
public SecretsWatcherChangeDetector(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.SecretsPropertySourceLocator secretsPropertySourceLocator,
ConfigurationWatcherConfigurationProperties k8SConfigurationProperties,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor)
protected boolean isSpringCloudKubernetesSecret(io.fabric8.kubernetes.api.model.Secret secret)
protected abstract reactor.core.publisher.Mono<Void> triggerRefresh(io.fabric8.kubernetes.api.model.Secret secret)
protected void onEvent(io.fabric8.kubernetes.api.model.Secret secret)
onEvent in class org.springframework.cloud.kubernetes.config.reload.EventBasedSecretsChangeDetectorCopyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.