pullWithRegistryAuthPullsImageAndProducesEvents() — spring-boot Function Reference
Architecture documentation for the pullWithRegistryAuthPullsImageAndProducesEvents() function in DockerApiTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 50a26430_9b51_b1ae_49f0_4ad8f47c771b["pullWithRegistryAuthPullsImageAndProducesEvents()"] ffedf588_7c32_be87_49b5_6f0bec311aa1["http()"] 50a26430_9b51_b1ae_49f0_4ad8f47c771b -->|calls| ffedf588_7c32_be87_49b5_6f0bec311aa1 88e4c755_21cd_03d2_7b78_c0a678363843["responseOf()"] 50a26430_9b51_b1ae_49f0_4ad8f47c771b -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 a638a40d_b558_6ded_d009_be48002e2198["getLayers()"] 50a26430_9b51_b1ae_49f0_4ad8f47c771b -->|calls| a638a40d_b558_6ded_d009_be48002e2198 style 50a26430_9b51_b1ae_49f0_4ad8f47c771b 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 275–288
@Test
void pullWithRegistryAuthPullsImageAndProducesEvents() throws Exception {
ImageReference reference = ImageReference.of("docker.io/paketobuildpacks/builder:base");
URI createUri = new URI(IMAGES_URL + "/create?fromImage=docker.io%2Fpaketobuildpacks%2Fbuilder%3Abase");
URI imageUri = new URI(IMAGES_URL + "/docker.io/paketobuildpacks/builder:base/json");
given(http().post(eq(createUri), eq("auth token"))).willReturn(responseOf("pull-stream.json"));
given(http().get(imageUri)).willReturn(responseOf("type/image.json"));
Image image = this.api.pull(reference, null, this.pullListener, "auth token");
assertThat(image.getLayers()).hasSize(46);
InOrder ordered = inOrder(this.pullListener);
ordered.verify(this.pullListener).onStart();
ordered.verify(this.pullListener, times(595)).onUpdate(any());
ordered.verify(this.pullListener).onFinish();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does pullWithRegistryAuthPullsImageAndProducesEvents() do?
pullWithRegistryAuthPullsImageAndProducesEvents() is a function in the spring-boot codebase.
What does pullWithRegistryAuthPullsImageAndProducesEvents() call?
pullWithRegistryAuthPullsImageAndProducesEvents() calls 3 function(s): getLayers, http, responseOf.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free