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

createConfig() — spring-boot Function Reference

Architecture documentation for the createConfig() function in ImageArchive.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  8fd71db8_f92c_c709_bed4_e2d2c18d9b24["createConfig()"]
  6bbd9327_660f_198a_8016_366f4ed9b297["writeConfig()"]
  6bbd9327_660f_198a_8016_366f4ed9b297 -->|calls| 8fd71db8_f92c_c709_bed4_e2d2c18d9b24
  36c9b5aa_44f0_07b1_3ac7_b5530dab6444["getCreatedDate()"]
  8fd71db8_f92c_c709_bed4_e2d2c18d9b24 -->|calls| 36c9b5aa_44f0_07b1_3ac7_b5530dab6444
  151920e7_33fd_6034_96fd_2c6aa2645ddf["createHistory()"]
  8fd71db8_f92c_c709_bed4_e2d2c18d9b24 -->|calls| 151920e7_33fd_6034_96fd_2c6aa2645ddf
  d22a59ed_e7a6_1b44_201c_64a93aa3100d["createRootFs()"]
  8fd71db8_f92c_c709_bed4_e2d2c18d9b24 -->|calls| d22a59ed_e7a6_1b44_201c_64a93aa3100d
  style 8fd71db8_f92c_c709_bed4_e2d2c18d9b24 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/ImageArchive.java lines 173–183

	private ObjectNode createConfig(List<LayerId> writtenLayers) {
		ObjectNode config = this.jsonMapper.createObjectNode();
		config.set("Config", this.imageConfig.getNodeCopy());
		config.set("Created", config.stringNode(getCreatedDate()));
		config.set("History", createHistory(writtenLayers));
		config.set("Os", config.stringNode(this.os));
		config.set("Architecture", config.stringNode(this.architecture));
		config.set("Variant", config.stringNode(this.variant));
		config.set("RootFS", createRootFs(writtenLayers));
		return config;
	}

Subdomains

Calls

Called By

Frequently Asked Questions

What does createConfig() do?
createConfig() is a function in the spring-boot codebase.
What does createConfig() call?
createConfig() calls 3 function(s): createHistory, createRootFs, getCreatedDate.
What calls createConfig()?
createConfig() is called by 1 function(s): writeConfig.

Analyze Your Own Codebase

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

Try Supermodel Free