@ConfigurationProperties(value="config-maps")
public static class KubernetesConfiguration.KubernetesConfigMapsConfiguration
extends io.micronaut.discovery.DiscoveryConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
KubernetesConfigMapsConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getPaths() |
boolean |
isUseApi() |
boolean |
isWatch() |
void |
setPaths(java.util.Collection<java.lang.String> paths) |
void |
setUseApi(boolean useApi) |
void |
setWatch(boolean watch) |
public static final java.lang.String PREFIX
public java.util.Collection<java.lang.String> getPaths()
public void setPaths(java.util.Collection<java.lang.String> paths)
paths
- where config maps are mountedpublic boolean isUseApi()
paths
is used.public void setUseApi(boolean useApi)
useApi
- whether to use the API to read config maps when paths
is used.public boolean isWatch()
public void setWatch(boolean watch)
watch
- flag to watch for the ConfigMap changes.