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

removeWhenForceIsTrueRemovesContainer() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  079907a3_c5c1_8fea_21c6_94a61cf536e5["removeWhenForceIsTrueRemovesContainer()"]
  4df514f3_d0cc_d3cb_96ec_080d69a58a0e["removeWhenForceIsTrueRemovesContainer()"]
  4df514f3_d0cc_d3cb_96ec_080d69a58a0e -->|calls| 079907a3_c5c1_8fea_21c6_94a61cf536e5
  4df514f3_d0cc_d3cb_96ec_080d69a58a0e["removeWhenForceIsTrueRemovesContainer()"]
  079907a3_c5c1_8fea_21c6_94a61cf536e5 -->|calls| 4df514f3_d0cc_d3cb_96ec_080d69a58a0e
  ffedf588_7c32_be87_49b5_6f0bec311aa1["http()"]
  079907a3_c5c1_8fea_21c6_94a61cf536e5 -->|calls| ffedf588_7c32_be87_49b5_6f0bec311aa1
  5ebda6ce_1915_7ec7_82b6_9dbaace8503c["emptyResponse()"]
  079907a3_c5c1_8fea_21c6_94a61cf536e5 -->|calls| 5ebda6ce_1915_7ec7_82b6_9dbaace8503c
  style 079907a3_c5c1_8fea_21c6_94a61cf536e5 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 817–824

		@Test
		void removeWhenForceIsTrueRemovesContainer() throws Exception {
			ContainerReference reference = ContainerReference.of("e90e34656806");
			URI removeUri = new URI(CONTAINERS_URL + "/e90e34656806?force=1");
			given(http().delete(removeUri)).willReturn(emptyResponse());
			this.api.remove(reference, true);
			then(http()).should().delete(removeUri);
		}

Subdomains

Frequently Asked Questions

What does removeWhenForceIsTrueRemovesContainer() do?
removeWhenForceIsTrueRemovesContainer() is a function in the spring-boot codebase.
What does removeWhenForceIsTrueRemovesContainer() call?
removeWhenForceIsTrueRemovesContainer() calls 3 function(s): emptyResponse, http, removeWhenForceIsTrueRemovesContainer.
What calls removeWhenForceIsTrueRemovesContainer()?
removeWhenForceIsTrueRemovesContainer() is called by 1 function(s): removeWhenForceIsTrueRemovesContainer.

Analyze Your Own Codebase

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

Try Supermodel Free