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

    Fields
    Modifier and Type
    Field
    Description
    protected final org.springframework.cloud.kubernetes.commons.config.SourceConfigProperties
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    KubernetesClientConfigMapPropertySourceLocator(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 Type
    Method
    Description
    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)
     
    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)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      locate in interface org.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:
      locateCollection in interface org.springframework.cloud.bootstrap.config.PropertySourceLocator