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
ConstructorsConstructorDescriptionKubernetesConfigSourceFactory(io.fabric8.kubernetes.client.KubernetesClient client) -
Method Summary
Modifier and TypeMethodDescription(package private) Iterable<org.eclipse.microprofile.config.spi.ConfigSource>getConfigSources(KubernetesConfigSourceConfig config, boolean secrets) 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, waitMethods 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:
getConfigSourcesin interfaceio.smallrye.config.ConfigSourceFactory
-
getConfigSources
Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources(KubernetesConfigSourceConfig config, boolean secrets)
-