inspectWithPlatformWhenSupportedVersionInspectImage() — spring-boot Function Reference
Architecture documentation for the inspectWithPlatformWhenSupportedVersionInspectImage() function in DockerApiTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 8bd9d1b7_b819_dc91_afe9_f5ac89412691["inspectWithPlatformWhenSupportedVersionInspectImage()"] c8868b7f_8c53_fa0f_029b_adb439a84967["setVersion()"] 8bd9d1b7_b819_dc91_afe9_f5ac89412691 -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 ffedf588_7c32_be87_49b5_6f0bec311aa1["http()"] 8bd9d1b7_b819_dc91_afe9_f5ac89412691 -->|calls| ffedf588_7c32_be87_49b5_6f0bec311aa1 88e4c755_21cd_03d2_7b78_c0a678363843["responseOf()"] 8bd9d1b7_b819_dc91_afe9_f5ac89412691 -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 c64097a2_b142_6a99_71e4_850c10604fe8["getArchitecture()"] 8bd9d1b7_b819_dc91_afe9_f5ac89412691 -->|calls| c64097a2_b142_6a99_71e4_850c10604fe8 a638a40d_b558_6ded_d009_be48002e2198["getLayers()"] 8bd9d1b7_b819_dc91_afe9_f5ac89412691 -->|calls| a638a40d_b558_6ded_d009_be48002e2198 style 8bd9d1b7_b819_dc91_afe9_f5ac89412691 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 453–463
@Test
void inspectWithPlatformWhenSupportedVersionInspectImage() throws Exception {
ImageReference reference = ImageReference.of("docker.io/paketobuildpacks/builder:base");
URI imageUri = new URI("/v1.49/images/docker.io/paketobuildpacks/builder:base/json?platform="
+ ENCODED_LINUX_ARM64_PLATFORM_JSON);
setVersion("1.49");
given(http().get(imageUri)).willReturn(responseOf("type/image-platform.json"));
Image image = this.api.inspect(reference, LINUX_ARM64_PLATFORM);
assertThat(image.getArchitecture()).isEqualTo("arm64");
assertThat(image.getLayers()).hasSize(2);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does inspectWithPlatformWhenSupportedVersionInspectImage() do?
inspectWithPlatformWhenSupportedVersionInspectImage() is a function in the spring-boot codebase.
What does inspectWithPlatformWhenSupportedVersionInspectImage() call?
inspectWithPlatformWhenSupportedVersionInspectImage() calls 5 function(s): getArchitecture, getLayers, http, responseOf, setVersion.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free