Class KubernetesConfigSourceFactory

java.lang.Object
io.quarkus.kubernetes.config.runtime.KubernetesConfigSourceFactory
All Implemented Interfaces:
io.smallrye.config.ConfigSourceFactory

class KubernetesConfigSourceFactory extends Object implements io.smallrye.config.ConfigSourceFactory
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.smallrye.config.ConfigSourceFactory

    io.smallrye.config.ConfigSourceFactory.ConfigurableConfigSourceFactory<MAPPING extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    KubernetesConfigSourceFactory(io.fabric8.kubernetes.client.KubernetesClient client)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) Iterable<org.eclipse.microprofile.config.spi.ConfigSource>
     
    Iterable<org.eclipse.microprofile.config.spi.ConfigSource>
    getConfigSources(io.smallrye.config.ConfigSourceContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.smallrye.config.ConfigSourceFactory

    getPriority
  • Constructor Details

    • KubernetesConfigSourceFactory

      public KubernetesConfigSourceFactory(io.fabric8.kubernetes.client.KubernetesClient client)
      Parameters:
      client - A Kubernetes Client that is specific to this extension - it must not be shared with any other parts of the application
  • Method Details

    • getConfigSources

      public Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources(io.smallrye.config.ConfigSourceContext context)
      Specified by:
      getConfigSources in interface io.smallrye.config.ConfigSourceFactory
    • getConfigSources

      Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources(KubernetesConfigSourceConfig config, boolean secrets)