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

loadJsonFromImageManifest() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  30180a75_1621_9476_d098_67951fdf5616["loadJsonFromImageManifest()"]
  dd8ce24d_ae54_bc94_c431_a08f0e2df55a["getContentAsString()"]
  30180a75_1621_9476_d098_67951fdf5616 -->|calls| dd8ce24d_ae54_bc94_c431_a08f0e2df55a
  409dd64b_ee03_c6dd_5c25_7bed3773ba59["getManifest()"]
  30180a75_1621_9476_d098_67951fdf5616 -->|calls| 409dd64b_ee03_c6dd_5c25_7bed3773ba59
  style 30180a75_1621_9476_d098_67951fdf5616 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/type/ManifestTests.java lines 41–48

	@Test
	void loadJsonFromImageManifest() {
		String content = getContentAsString("image-manifest.json");
		Manifest manifestList = getManifest(content);
		assertThat(manifestList.getSchemaVersion()).isEqualTo(2);
		assertThat(manifestList.getMediaType()).isEqualTo("application/vnd.oci.image.manifest.v1+json");
		assertThat(manifestList.getLayers()).hasSize(1);
	}

Domain

Subdomains

Frequently Asked Questions

What does loadJsonFromImageManifest() do?
loadJsonFromImageManifest() is a function in the spring-boot codebase.
What does loadJsonFromImageManifest() call?
loadJsonFromImageManifest() calls 2 function(s): getContentAsString, getManifest.

Analyze Your Own Codebase

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

Try Supermodel Free