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

from() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  76658f7f_e25a_8059_0b8b_3d0b2137d9c3["from()"]
  1b7e8269_8f9c_82f0_b4ee_e3eedc21ec96["ImagePlatform()"]
  76658f7f_e25a_8059_0b8b_3d0b2137d9c3 -->|calls| 1b7e8269_8f9c_82f0_b4ee_e3eedc21ec96
  f0648c91_17b8_ff3d_f51f_f2b8fce3f4d4["getOs()"]
  76658f7f_e25a_8059_0b8b_3d0b2137d9c3 -->|calls| f0648c91_17b8_ff3d_f51f_f2b8fce3f4d4
  c64097a2_b142_6a99_71e4_850c10604fe8["getArchitecture()"]
  76658f7f_e25a_8059_0b8b_3d0b2137d9c3 -->|calls| c64097a2_b142_6a99_71e4_850c10604fe8
  d857ed0d_f7af_64c2_73f9_44d96987cb90["getVariant()"]
  76658f7f_e25a_8059_0b8b_3d0b2137d9c3 -->|calls| d857ed0d_f7af_64c2_73f9_44d96987cb90
  style 76658f7f_e25a_8059_0b8b_3d0b2137d9c3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ImagePlatform.java lines 104–106

	public static ImagePlatform from(Image image) {
		return new ImagePlatform(image.getOs(), image.getArchitecture(), image.getVariant());
	}

Subdomains

Calls

Frequently Asked Questions

What does from() do?
from() is a function in the spring-boot codebase.
What does from() call?
from() calls 4 function(s): ImagePlatform, getArchitecture, getOs, getVariant.

Analyze Your Own Codebase

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

Try Supermodel Free