Class AbstractKubernetesConfigSourceUtil

    • Constructor Detail

      • AbstractKubernetesConfigSourceUtil

        AbstractKubernetesConfigSourceUtil()
    • Method Detail

      • getType

        abstract String getType()
      • createLiteralDataConfigSource

        abstract org.eclipse.microprofile.config.spi.ConfigSource createLiteralDataConfigSource​(String kubernetesConfigSourceName,
                                                                                                Map<String,​String> propertyMap,
                                                                                                int ordinal)
      • createPropertiesConfigSource

        abstract org.eclipse.microprofile.config.spi.ConfigSource createPropertiesConfigSource​(String kubernetesConfigSourceName,
                                                                                               String fileName,
                                                                                               String input,
                                                                                               int ordinal)
      • createYamlConfigSource

        abstract org.eclipse.microprofile.config.spi.ConfigSource createYamlConfigSource​(String kubernetesConfigSourceName,
                                                                                         String fileName,
                                                                                         String input,
                                                                                         int ordinal)
      • toConfigSources

        List<org.eclipse.microprofile.config.spi.ConfigSource> toConfigSources​(io.fabric8.kubernetes.api.model.ObjectMeta metadata,
                                                                               Map<String,​String> kubernetesConfigSourceDataMap,
                                                                               int ordinalOffset)
        Returns a list of ConfigSource for the literal data that is contained in the ConfigMap/Secret and for the application.{properties|yaml|yml} files that might be contained in it as well All the ConfigSource objects use the same ordinal which is higher than the ordinal of normal configuration files, but lower than that of environment variables