Home / Function/ pushPushesImageAndProducesEvents() — spring-boot Function Reference

pushPushesImageAndProducesEvents() — spring-boot Function Reference

Architecture documentation for the pushPushesImageAndProducesEvents() function in DockerApiTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  ac31993b_d9c3_1327_e2b2_1b0a67455593["pushPushesImageAndProducesEvents()"]
  ffedf588_7c32_be87_49b5_6f0bec311aa1["http()"]
  ac31993b_d9c3_1327_e2b2_1b0a67455593 -->|calls| ffedf588_7c32_be87_49b5_6f0bec311aa1
  88e4c755_21cd_03d2_7b78_c0a678363843["responseOf()"]
  ac31993b_d9c3_1327_e2b2_1b0a67455593 -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843
  style ac31993b_d9c3_1327_e2b2_1b0a67455593 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 333–343

		@Test
		void pushPushesImageAndProducesEvents() throws Exception {
			ImageReference reference = ImageReference.of("localhost:5000/ubuntu");
			URI pushUri = new URI(IMAGES_URL + "/localhost:5000/ubuntu/push");
			given(http().post(pushUri, "auth token")).willReturn(responseOf("push-stream.json"));
			this.api.push(reference, this.pushListener, "auth token");
			InOrder ordered = inOrder(this.pushListener);
			ordered.verify(this.pushListener).onStart();
			ordered.verify(this.pushListener, times(44)).onUpdate(any());
			ordered.verify(this.pushListener).onFinish();
		}

Subdomains

Frequently Asked Questions

What does pushPushesImageAndProducesEvents() do?
pushPushesImageAndProducesEvents() is a function in the spring-boot codebase.
What does pushPushesImageAndProducesEvents() call?
pushPushesImageAndProducesEvents() calls 2 function(s): http, responseOf.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free