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

deleteWhenForceIsTrueDeletesContainer() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  4a0f08ff_5351_e8d0_daab_11d050f237c8["deleteWhenForceIsTrueDeletesContainer()"]
  ffedf588_7c32_be87_49b5_6f0bec311aa1["http()"]
  4a0f08ff_5351_e8d0_daab_11d050f237c8 -->|calls| ffedf588_7c32_be87_49b5_6f0bec311aa1
  5ebda6ce_1915_7ec7_82b6_9dbaace8503c["emptyResponse()"]
  4a0f08ff_5351_e8d0_daab_11d050f237c8 -->|calls| 5ebda6ce_1915_7ec7_82b6_9dbaace8503c
  style 4a0f08ff_5351_e8d0_daab_11d050f237c8 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 854–861

		@Test
		void deleteWhenForceIsTrueDeletesContainer() throws Exception {
			VolumeName name = VolumeName.of("test");
			URI removeUri = new URI(VOLUMES_URL + "/test?force=1");
			given(http().delete(removeUri)).willReturn(emptyResponse());
			this.api.delete(name, true);
			then(http()).should().delete(removeUri);
		}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free