Class KubernetesClientConfigMapPropertySourceLocator
java.lang.Object
org.springframework.cloud.kubernetes.commons.config.ConfigMapPropertySourceLocator
org.springframework.cloud.kubernetes.client.config.KubernetesClientConfigMapPropertySourceLocator
- All Implemented Interfaces:
org.springframework.cloud.bootstrap.config.PropertySourceLocator
@Order(0)
public class KubernetesClientConfigMapPropertySourceLocator
extends org.springframework.cloud.kubernetes.commons.config.ConfigMapPropertySourceLocator
- Author:
- Ryan Baxter, Isik Erhan
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.springframework.cloud.kubernetes.commons.config.SourceConfigProperties -
Constructor Summary
ConstructorsConstructorDescriptionKubernetesClientConfigMapPropertySourceLocator(io.kubernetes.client.openapi.apis.CoreV1Api coreV1Api, org.springframework.cloud.kubernetes.commons.config.ConfigMapConfigProperties properties, org.springframework.cloud.kubernetes.commons.KubernetesNamespaceProvider kubernetesNamespaceProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.core.env.MapPropertySourcegetPropertySource(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.cloud.kubernetes.commons.config.NormalizedSource source, org.springframework.cloud.kubernetes.commons.config.ReadType readType) org.springframework.core.env.PropertySource<?> locate(org.springframework.core.env.Environment environment) Collection<org.springframework.core.env.PropertySource<?>> locateCollection(org.springframework.core.env.Environment arg0)
-
Field Details
-
properties
protected final org.springframework.cloud.kubernetes.commons.config.SourceConfigProperties properties
-
-
Constructor Details
-
KubernetesClientConfigMapPropertySourceLocator
public KubernetesClientConfigMapPropertySourceLocator(io.kubernetes.client.openapi.apis.CoreV1Api coreV1Api, org.springframework.cloud.kubernetes.commons.config.ConfigMapConfigProperties properties, org.springframework.cloud.kubernetes.commons.KubernetesNamespaceProvider kubernetesNamespaceProvider)
-
-
Method Details
-
locate
public org.springframework.core.env.PropertySource<?> locate(org.springframework.core.env.Environment environment) - Specified by:
locatein interfaceorg.springframework.cloud.bootstrap.config.PropertySourceLocator
-
getPropertySource
protected org.springframework.core.env.MapPropertySource getPropertySource(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.cloud.kubernetes.commons.config.NormalizedSource source, org.springframework.cloud.kubernetes.commons.config.ReadType readType) -
locateCollection
public Collection<org.springframework.core.env.PropertySource<?>> locateCollection(org.springframework.core.env.Environment arg0) - Specified by:
locateCollectionin interfaceorg.springframework.cloud.bootstrap.config.PropertySourceLocator
-