Home / Function/ parseConfigEnv() — spring-boot Function Reference

parseConfigEnv() — spring-boot Function Reference

Architecture documentation for the parseConfigEnv() function in ImageConfig.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  8253ea74_962d_1054_55fa_03478ec9de4a["parseConfigEnv()"]
  95d3ccc0_8824_ad41_eaee_66b86b8a8a16["ImageConfig()"]
  95d3ccc0_8824_ad41_eaee_66b86b8a8a16 -->|calls| 8253ea74_962d_1054_55fa_03478ec9de4a
  76940359_add9_4519_6ff4_94f95a81453d["valueAt()"]
  8253ea74_962d_1054_55fa_03478ec9de4a -->|calls| 76940359_add9_4519_6ff4_94f95a81453d
  style 8253ea74_962d_1054_55fa_03478ec9de4a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/type/ImageConfig.java lines 59–72

	private Map<String, @Nullable String> parseConfigEnv() {
		String[] entries = valueAt("/Env", String[].class);
		if (entries == null) {
			return Collections.emptyMap();
		}
		Map<String, @Nullable String> env = new LinkedHashMap<>();
		for (String entry : entries) {
			int i = entry.indexOf('=');
			String name = (i != -1) ? entry.substring(0, i) : entry;
			String value = (i != -1) ? entry.substring(i + 1) : null;
			env.put(name, value);
		}
		return Collections.unmodifiableMap(env);
	}

Subdomains

Calls

Called By

Frequently Asked Questions

What does parseConfigEnv() do?
parseConfigEnv() is a function in the spring-boot codebase.
What does parseConfigEnv() call?
parseConfigEnv() calls 1 function(s): valueAt.
What calls parseConfigEnv()?
parseConfigEnv() is called by 1 function(s): ImageConfig.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free