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

withNestedIndexes() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  7ea6e489_52d4_6c61_4c09_9143fc147c75["withNestedIndexes()"]
  858ab411_02e3_9ad7_2e13_40c12d223aea["IndexLayerArchiveFactory()"]
  858ab411_02e3_9ad7_2e13_40c12d223aea -->|calls| 7ea6e489_52d4_6c61_4c09_9143fc147c75
  957225e7_aa4b_8d3f_8bbe_0bf7d4178796["getDigests()"]
  7ea6e489_52d4_6c61_4c09_9143fc147c75 -->|calls| 957225e7_aa4b_8d3f_8bbe_0bf7d4178796
  2f746efe_496a_ca3f_01f0_3944d0ba4c85["getDigestMatches()"]
  7ea6e489_52d4_6c61_4c09_9143fc147c75 -->|calls| 2f746efe_496a_ca3f_01f0_3944d0ba4c85
  241380c0_d8a2_4c77_91e0_4fc197c4e046["of()"]
  7ea6e489_52d4_6c61_4c09_9143fc147c75 -->|calls| 241380c0_d8a2_4c77_91e0_4fc197c4e046
  style 7ea6e489_52d4_6c61_4c09_9143fc147c75 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ExportedImageTar.java lines 164–171

		private static List<ImageArchiveIndex> withNestedIndexes(Path tarFile, ImageArchiveIndex index)
				throws IOException {
			Set<String> indexDigests = getDigests(Stream.of(index), IndexLayerArchiveFactory::isIndex);
			List<ImageArchiveIndex> indexes = new ArrayList<>();
			indexes.add(index);
			indexes.addAll(getDigestMatches(tarFile, indexDigests, ImageArchiveIndex::of));
			return indexes;
		}

Subdomains

Frequently Asked Questions

What does withNestedIndexes() do?
withNestedIndexes() is a function in the spring-boot codebase.
What does withNestedIndexes() call?
withNestedIndexes() calls 3 function(s): getDigestMatches, getDigests, of.
What calls withNestedIndexes()?
withNestedIndexes() is called by 1 function(s): IndexLayerArchiveFactory.

Analyze Your Own Codebase

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

Try Supermodel Free