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

getManifestLayers() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  e0bc4c91_1bd0_0e1a_895c_7705ac1ed719["getManifestLayers()"]
  a145474b_96ee_4e7d_6eec_156005f8e3d7["createManifest()"]
  a145474b_96ee_4e7d_6eec_156005f8e3d7 -->|calls| e0bc4c91_1bd0_0e1a_895c_7705ac1ed719
  2436cdd6_dab0_417f_e110_a3223e8ab556["size()"]
  e0bc4c91_1bd0_0e1a_895c_7705ac1ed719 -->|calls| 2436cdd6_dab0_417f_e110_a3223e8ab556
  style e0bc4c91_1bd0_0e1a_895c_7705ac1ed719 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 223–230

	private ArrayNode getManifestLayers(List<LayerId> writtenLayers) {
		ArrayNode layers = this.jsonMapper.createArrayNode();
		for (int i = 0; i < this.existingLayers.size(); i++) {
			layers.add(EMPTY_LAYER_NAME_PREFIX + i);
		}
		writtenLayers.stream().map((id) -> id.getHash() + ".tar").forEach(layers::add);
		return layers;
	}

Subdomains

Calls

Called By

Frequently Asked Questions

What does getManifestLayers() do?
getManifestLayers() is a function in the spring-boot codebase.
What does getManifestLayers() call?
getManifestLayers() calls 1 function(s): size.
What calls getManifestLayers()?
getManifestLayers() is called by 1 function(s): createManifest.

Analyze Your Own Codebase

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

Try Supermodel Free