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

Image() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  5ff96cf4_0cd5_b393_bd8e_cee37b14ec20["Image()"]
  f0ef97e0_28f4_85b9_4d9e_e7bc840c79a8["childrenAt()"]
  5ff96cf4_0cd5_b393_bd8e_cee37b14ec20 -->|calls| f0ef97e0_28f4_85b9_4d9e_e7bc840c79a8
  0a30dec0_ee80_627a_bd43_c83b3aa07818["getNode()"]
  5ff96cf4_0cd5_b393_bd8e_cee37b14ec20 -->|calls| 0a30dec0_ee80_627a_bd43_c83b3aa07818
  c81cc6f6_6b35_ede5_b41e_a7834ff6a1d8["extractLayers()"]
  5ff96cf4_0cd5_b393_bd8e_cee37b14ec20 -->|calls| c81cc6f6_6b35_ede5_b41e_a7834ff6a1d8
  76940359_add9_4519_6ff4_94f95a81453d["valueAt()"]
  5ff96cf4_0cd5_b393_bd8e_cee37b14ec20 -->|calls| 76940359_add9_4519_6ff4_94f95a81453d
  983eacdc_4191_d98a_9334_47bd762fc267["Descriptor()"]
  5ff96cf4_0cd5_b393_bd8e_cee37b14ec20 -->|calls| 983eacdc_4191_d98a_9334_47bd762fc267
  style 5ff96cf4_0cd5_b393_bd8e_cee37b14ec20 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/Image.java lines 59–71

	Image(JsonNode node) {
		super(node, MethodHandles.lookup());
		this.digests = childrenAt("/RepoDigests", JsonNode::asString);
		this.config = new ImageConfig(getNode().at("/Config"));
		this.layers = extractLayers(valueAt("/RootFS/Layers", String[].class));
		this.os = valueAt("/Os", String.class);
		this.architecture = valueAt("/Architecture", String.class);
		this.variant = valueAt("/Variant", String.class);
		this.created = valueAt("/Created", String.class);
		JsonNode descriptorNode = getNode().path("Descriptor");
		this.descriptor = (descriptorNode.isMissingNode() || descriptorNode.isNull()) ? null
				: new Descriptor(descriptorNode);
	}

Subdomains

Frequently Asked Questions

What does Image() do?
Image() is a function in the spring-boot codebase.
What does Image() call?
Image() calls 5 function(s): Descriptor, childrenAt, extractLayers, getNode, valueAt.

Analyze Your Own Codebase

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

Try Supermodel Free