responseOf() — spring-boot Function Reference
Architecture documentation for the responseOf() function in DockerApiTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 88e4c755_21cd_03d2_7b78_c0a678363843["responseOf()"] 5ebda6ce_1915_7ec7_82b6_9dbaace8503c["emptyResponse()"] 5ebda6ce_1915_7ec7_82b6_9dbaace8503c -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 cbd643f4_2be0_8bf3_c622_bd59b10eb8b3["pullPullsImageAndProducesEvents()"] cbd643f4_2be0_8bf3_c622_bd59b10eb8b3 -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 50a26430_9b51_b1ae_49f0_4ad8f47c771b["pullWithRegistryAuthPullsImageAndProducesEvents()"] 50a26430_9b51_b1ae_49f0_4ad8f47c771b -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 98ede605_b0b1_a7a2_de30_25b6d04bbf73["pullWithPlatformPullsImageAndProducesEvents()"] 98ede605_b0b1_a7a2_de30_25b6d04bbf73 -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 ac31993b_d9c3_1327_e2b2_1b0a67455593["pushPushesImageAndProducesEvents()"] ac31993b_d9c3_1327_e2b2_1b0a67455593 -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 35782b17_f7f8_a877_36b7_b349bf6d107d["pushWithErrorInStreamThrowsException()"] 35782b17_f7f8_a877_36b7_b349bf6d107d -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 f295e23c_a4a3_4a11_b01e_597235ee92e0["loadWithErrorResponseThrowsException()"] f295e23c_a4a3_4a11_b01e_597235ee92e0 -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 fdfb529d_e8a3_535f_4951_99d6de7ba6a0["loadLoadsImage()"] fdfb529d_e8a3_535f_4951_99d6de7ba6a0 -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 2cb432b3_ebf3_398e_db74_5760ef86bb5a["inspectInspectImage()"] 2cb432b3_ebf3_398e_db74_5760ef86bb5a -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 8bd9d1b7_b819_dc91_afe9_f5ac89412691["inspectWithPlatformWhenSupportedVersionInspectImage()"] 8bd9d1b7_b819_dc91_afe9_f5ac89412691 -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 bbcf2c28_203d_6ae5_6d49_12bd497d039e["inspectWithPlatformWhenOldVersionInspectImage()"] bbcf2c28_203d_6ae5_6d49_12bd497d039e -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 929487dd_04c5_2cdd_78ba_05b94c39fde9["exportLayersExportsLayerTars()"] 929487dd_04c5_2cdd_78ba_05b94c39fde9 -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 d26c38cd_8c97_e2b5_3f42_ec94b08c62e3["exportLayersExportsLayerTarsWithPlatformWhenSupportedVersion()"] d26c38cd_8c97_e2b5_3f42_ec94b08c62e3 -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 45dda9cb_c752_2be9_f1a3_940a2c45ffec["exportLayersExportsLayerTarsWithPlatformWhenOldVersionInspectImage()"] 45dda9cb_c752_2be9_f1a3_940a2c45ffec -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 style 88e4c755_21cd_03d2_7b78_c0a678363843 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 126–142
private Response responseOf(@Nullable String name) {
return new Response() {
@Override
public void close() {
}
@Override
public InputStream getContent() {
if (name == null) {
return new ByteArrayInputStream(new byte[0]);
}
return getClass().getResourceAsStream(name);
}
};
}
Domain
Subdomains
Called By
- createCreatesContainer()
- createWhenHasContentContainerWithContent()
- createWithPlatform()
- createWithPlatformCreatesContainer()
- emptyResponse()
- exportLayersExportsLayerTars()
- exportLayersExportsLayerTarsWithPlatformWhenOldVersionInspectImage()
- exportLayersExportsLayerTarsWithPlatformWhenSupportedVersion()
- exportLayersWithSymlinksExportsLayerTars()
- inspectInspectImage()
- inspectWithPlatformWhenOldVersionInspectImage()
- inspectWithPlatformWhenSupportedVersionInspectImage()
- loadLoadsImage()
- loadWithErrorResponseThrowsException()
- logsProducesEvents()
- pullPullsImageAndProducesEvents()
- pullWithPlatformPullsImageAndProducesEvents()
- pullWithRegistryAuthPullsImageAndProducesEvents()
- pushPushesImageAndProducesEvents()
- pushWithErrorInStreamThrowsException()
- waitReturnsStatus()
Source
Frequently Asked Questions
What does responseOf() do?
responseOf() is a function in the spring-boot codebase.
What calls responseOf()?
responseOf() is called by 21 function(s): createCreatesContainer, createWhenHasContentContainerWithContent, createWithPlatform, createWithPlatformCreatesContainer, emptyResponse, exportLayersExportsLayerTars, exportLayersExportsLayerTarsWithPlatformWhenOldVersionInspectImage, exportLayersExportsLayerTarsWithPlatformWhenSupportedVersion, and 13 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free