inspectWithPlatformWhenOldVersionInspectImage() — spring-boot Function Reference
Architecture documentation for the inspectWithPlatformWhenOldVersionInspectImage() function in DockerApiTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD bbcf2c28_203d_6ae5_6d49_12bd497d039e["inspectWithPlatformWhenOldVersionInspectImage()"] c8868b7f_8c53_fa0f_029b_adb439a84967["setVersion()"] bbcf2c28_203d_6ae5_6d49_12bd497d039e -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 ffedf588_7c32_be87_49b5_6f0bec311aa1["http()"] bbcf2c28_203d_6ae5_6d49_12bd497d039e -->|calls| ffedf588_7c32_be87_49b5_6f0bec311aa1 88e4c755_21cd_03d2_7b78_c0a678363843["responseOf()"] bbcf2c28_203d_6ae5_6d49_12bd497d039e -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 c64097a2_b142_6a99_71e4_850c10604fe8["getArchitecture()"] bbcf2c28_203d_6ae5_6d49_12bd497d039e -->|calls| c64097a2_b142_6a99_71e4_850c10604fe8 a638a40d_b558_6ded_d009_be48002e2198["getLayers()"] bbcf2c28_203d_6ae5_6d49_12bd497d039e -->|calls| a638a40d_b558_6ded_d009_be48002e2198 style bbcf2c28_203d_6ae5_6d49_12bd497d039e 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 465–474
@Test
void inspectWithPlatformWhenOldVersionInspectImage() throws Exception {
ImageReference reference = ImageReference.of("docker.io/paketobuildpacks/builder:base");
URI imageUri = new URI("/v1.48/images/docker.io/paketobuildpacks/builder:base/json");
setVersion("1.48");
given(http().get(imageUri)).willReturn(responseOf("type/image.json"));
Image image = this.api.inspect(reference, LINUX_ARM64_PLATFORM);
assertThat(image.getArchitecture()).isEqualTo("amd64");
assertThat(image.getLayers()).hasSize(46);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does inspectWithPlatformWhenOldVersionInspectImage() do?
inspectWithPlatformWhenOldVersionInspectImage() is a function in the spring-boot codebase.
What does inspectWithPlatformWhenOldVersionInspectImage() call?
inspectWithPlatformWhenOldVersionInspectImage() 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