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

inspectInspectImage() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2cb432b3_ebf3_398e_db74_5760ef86bb5a["inspectInspectImage()"]
  ffedf588_7c32_be87_49b5_6f0bec311aa1["http()"]
  2cb432b3_ebf3_398e_db74_5760ef86bb5a -->|calls| ffedf588_7c32_be87_49b5_6f0bec311aa1
  88e4c755_21cd_03d2_7b78_c0a678363843["responseOf()"]
  2cb432b3_ebf3_398e_db74_5760ef86bb5a -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843
  c64097a2_b142_6a99_71e4_850c10604fe8["getArchitecture()"]
  2cb432b3_ebf3_398e_db74_5760ef86bb5a -->|calls| c64097a2_b142_6a99_71e4_850c10604fe8
  a638a40d_b558_6ded_d009_be48002e2198["getLayers()"]
  2cb432b3_ebf3_398e_db74_5760ef86bb5a -->|calls| a638a40d_b558_6ded_d009_be48002e2198
  style 2cb432b3_ebf3_398e_db74_5760ef86bb5a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/DockerApiTests.java lines 443–451

		@Test
		void inspectInspectImage() throws Exception {
			ImageReference reference = ImageReference.of("docker.io/paketobuildpacks/builder:base");
			URI imageUri = new URI(IMAGES_URL + "/docker.io/paketobuildpacks/builder:base/json");
			given(http().get(imageUri)).willReturn(responseOf("type/image.json"));
			Image image = this.api.inspect(reference);
			assertThat(image.getArchitecture()).isEqualTo("amd64");
			assertThat(image.getLayers()).hasSize(46);
		}

Subdomains

Frequently Asked Questions

What does inspectInspectImage() do?
inspectInspectImage() is a function in the spring-boot codebase.
What does inspectInspectImage() call?
inspectInspectImage() calls 4 function(s): getArchitecture, getLayers, http, responseOf.

Analyze Your Own Codebase

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

Try Supermodel Free