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

create() — spring-boot Function Reference

Architecture documentation for the create() function in DockerConfigurationMetadata.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  e2f59cdc_ac98_582e_bb45_2392be37db9d["create()"]
  45484fa2_9e09_b33b_25d6_5f6bb613d8a6["from()"]
  45484fa2_9e09_b33b_25d6_5f6bb613d8a6 -->|calls| e2f59cdc_ac98_582e_bb45_2392be37db9d
  58994152_b05e_a16f_283c_b6dc2c064895["get()"]
  e2f59cdc_ac98_582e_bb45_2392be37db9d -->|calls| 58994152_b05e_a16f_283c_b6dc2c064895
  f7f1bbbd_7c3d_f5ae_5313_5c84d4e3b66c["getUserHomeConfigLocation()"]
  e2f59cdc_ac98_582e_bb45_2392be37db9d -->|calls| f7f1bbbd_7c3d_f5ae_5313_5c84d4e3b66c
  20b4798b_08be_2aef_8dc6_3f7ab2c6fc4d["createDockerConfig()"]
  e2f59cdc_ac98_582e_bb45_2392be37db9d -->|calls| 20b4798b_08be_2aef_8dc6_3f7ab2c6fc4d
  be91c0a6_279d_c127_7e4a_1f3bf82c5742["createDockerContext()"]
  e2f59cdc_ac98_582e_bb45_2392be37db9d -->|calls| be91c0a6_279d_c127_7e4a_1f3bf82c5742
  9e94e3e6_f972_47b4_12c8_3a5130c9bce4["getCurrentContext()"]
  e2f59cdc_ac98_582e_bb45_2392be37db9d -->|calls| 9e94e3e6_f972_47b4_12c8_3a5130c9bce4
  0e326ead_4114_cec4_6d45_beed6f259164["DockerConfigurationMetadata()"]
  e2f59cdc_ac98_582e_bb45_2392be37db9d -->|calls| 0e326ead_4114_cec4_6d45_beed6f259164
  style e2f59cdc_ac98_582e_bb45_2392be37db9d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/configuration/DockerConfigurationMetadata.java lines 103–109

	private static DockerConfigurationMetadata create(Environment environment) {
		String configLocation = environment.get(DOCKER_CONFIG);
		configLocation = (configLocation != null) ? configLocation : getUserHomeConfigLocation();
		DockerConfig dockerConfig = createDockerConfig(configLocation);
		DockerContext dockerContext = createDockerContext(configLocation, dockerConfig.getCurrentContext());
		return new DockerConfigurationMetadata(configLocation, dockerConfig, dockerContext);
	}

Subdomains

Calls

Called By

Frequently Asked Questions

What does create() do?
create() is a function in the spring-boot codebase.
What does create() call?
create() calls 6 function(s): DockerConfigurationMetadata, createDockerConfig, createDockerContext, get, getCurrentContext, getUserHomeConfigLocation.
What calls create()?
create() is called by 1 function(s): from.

Analyze Your Own Codebase

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

Try Supermodel Free