setVersion() — spring-boot Function Reference
Architecture documentation for the setVersion() function in DockerApiTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD c8868b7f_8c53_fa0f_029b_adb439a84967["setVersion()"] a13da877_bfa8_e4db_7abb_dd0a33e7ebfb["buildUrlWhenUnknownVersionUsesPreferredVersion()"] a13da877_bfa8_e4db_7abb_dd0a33e7ebfb -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 9fc7ba12_d9e7_02c3_2762_315403f9c5e8["buildUrlWhenVersionIsGreaterThanPreferredUsesPreferred()"] 9fc7ba12_d9e7_02c3_2762_315403f9c5e8 -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 044ac382_3023_e78d_6943_dedef61faf72["buildUrlWhenVersionIsEqualToPreferredUsesPreferred()"] 044ac382_3023_e78d_6943_dedef61faf72 -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 993d54e1_c995_478b_4cdf_511f1633608c["buildUrlWhenVersionIsLessThanPreferredAndGreaterThanMinimumUsesVersionVersion()"] 993d54e1_c995_478b_4cdf_511f1633608c -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 77835476_3913_c281_15d6_ec1678d1d905["buildUrlWhenVersionIsLessThanPreferredAndEqualToMinimumUsesVersionVersion()"] 77835476_3913_c281_15d6_ec1678d1d905 -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 c089e838_66f9_712f_1631_4ca18dadf0c1["buildUrlWhenVersionIsLessThanMinimumThrowsException()"] c089e838_66f9_712f_1631_4ca18dadf0c1 -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 98ede605_b0b1_a7a2_de30_25b6d04bbf73["pullWithPlatformPullsImageAndProducesEvents()"] 98ede605_b0b1_a7a2_de30_25b6d04bbf73 -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 28fb49d9_91b5_4fa1_1f28_535a251f5e46["pullWithPlatformAndInsufficientApiVersionThrowsException()"] 28fb49d9_91b5_4fa1_1f28_535a251f5e46 -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 8bd9d1b7_b819_dc91_afe9_f5ac89412691["inspectWithPlatformWhenSupportedVersionInspectImage()"] 8bd9d1b7_b819_dc91_afe9_f5ac89412691 -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 bbcf2c28_203d_6ae5_6d49_12bd497d039e["inspectWithPlatformWhenOldVersionInspectImage()"] bbcf2c28_203d_6ae5_6d49_12bd497d039e -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 d26c38cd_8c97_e2b5_3f42_ec94b08c62e3["exportLayersExportsLayerTarsWithPlatformWhenSupportedVersion()"] d26c38cd_8c97_e2b5_3f42_ec94b08c62e3 -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 45dda9cb_c752_2be9_f1a3_940a2c45ffec["exportLayersExportsLayerTarsWithPlatformWhenOldVersionInspectImage()"] 45dda9cb_c752_2be9_f1a3_940a2c45ffec -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 49702d73_075d_c474_f7c1_aa657dc6b17d["createWithPlatformCreatesContainer()"] 49702d73_075d_c474_f7c1_aa657dc6b17d -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 0804a507_bc2c_3637_ef4b_6304c5edba46["createWithPlatformAndKnownInsufficientApiVersionThrowsException()"] 0804a507_bc2c_3637_ef4b_6304c5edba46 -->|calls| c8868b7f_8c53_fa0f_029b_adb439a84967 style c8868b7f_8c53_fa0f_029b_adb439a84967 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 214–217
private void setVersion(String version) throws IOException, URISyntaxException {
given(http().head(eq(new URI(PING_URL))))
.willReturn(responseWithHeaders(new BasicHeader(DockerApi.API_VERSION_HEADER_NAME, version)));
}
Domain
Subdomains
Called By
- buildUrlWhenUnknownVersionUsesPreferredVersion()
- buildUrlWhenVersionIsEqualToPreferredUsesPreferred()
- buildUrlWhenVersionIsGreaterThanPreferredUsesPreferred()
- buildUrlWhenVersionIsLessThanMinimumThrowsException()
- buildUrlWhenVersionIsLessThanPreferredAndEqualToMinimumUsesVersionVersion()
- buildUrlWhenVersionIsLessThanPreferredAndGreaterThanMinimumUsesVersionVersion()
- createWithPlatformAndKnownInsufficientApiVersionThrowsException()
- createWithPlatformCreatesContainer()
- exportLayersExportsLayerTarsWithPlatformWhenOldVersionInspectImage()
- exportLayersExportsLayerTarsWithPlatformWhenSupportedVersion()
- inspectWithPlatformWhenOldVersionInspectImage()
- inspectWithPlatformWhenSupportedVersionInspectImage()
- pullWithPlatformAndInsufficientApiVersionThrowsException()
- pullWithPlatformPullsImageAndProducesEvents()
Source
Frequently Asked Questions
What does setVersion() do?
setVersion() is a function in the spring-boot codebase.
What does setVersion() call?
setVersion() calls 2 function(s): http, responseWithHeaders.
What calls setVersion()?
setVersion() is called by 14 function(s): buildUrlWhenUnknownVersionUsesPreferredVersion, buildUrlWhenVersionIsEqualToPreferredUsesPreferred, buildUrlWhenVersionIsGreaterThanPreferredUsesPreferred, buildUrlWhenVersionIsLessThanMinimumThrowsException, buildUrlWhenVersionIsLessThanPreferredAndEqualToMinimumUsesVersionVersion, buildUrlWhenVersionIsLessThanPreferredAndGreaterThanMinimumUsesVersionVersion, createWithPlatformAndKnownInsufficientApiVersionThrowsException, createWithPlatformCreatesContainer, and 6 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free