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

getBuildRequestWhenHasBindingsUsesBindings() — spring-boot Function Reference

Architecture documentation for the getBuildRequestWhenHasBindingsUsesBindings() function in ImageTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  ad677496_1577_b1aa_13fd_1d6ce83dd222["getBuildRequestWhenHasBindingsUsesBindings()"]
  b74eae5d_f636_54c5_ee76_45af8d43e679["createArtifact()"]
  ad677496_1577_b1aa_13fd_1d6ce83dd222 -->|calls| b74eae5d_f636_54c5_ee76_45af8d43e679
  70a3e195_3608_990f_ed81_3460232951c4["mockApplicationContent()"]
  ad677496_1577_b1aa_13fd_1d6ce83dd222 -->|calls| 70a3e195_3608_990f_ed81_3460232951c4
  8bb4302a_4170_a9a4_61f5_3416246a0165["of()"]
  ad677496_1577_b1aa_13fd_1d6ce83dd222 -->|calls| 8bb4302a_4170_a9a4_61f5_3416246a0165
  style ad677496_1577_b1aa_13fd_1d6ce83dd222 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/test/java/org/springframework/boot/maven/ImageTests.java lines 174–181

	@Test
	void getBuildRequestWhenHasBindingsUsesBindings() {
		Image image = new Image();
		image.bindings = Arrays.asList("host-src:container-dest:ro", "volume-name:container-dest:rw");
		BuildRequest request = image.getBuildRequest(createArtifact(), mockApplicationContent());
		assertThat(request.getBindings()).containsExactly(Binding.of("host-src:container-dest:ro"),
				Binding.of("volume-name:container-dest:rw"));
	}

Subdomains

Frequently Asked Questions

What does getBuildRequestWhenHasBindingsUsesBindings() do?
getBuildRequestWhenHasBindingsUsesBindings() is a function in the spring-boot codebase.
What does getBuildRequestWhenHasBindingsUsesBindings() call?
getBuildRequestWhenHasBindingsUsesBindings() calls 3 function(s): createArtifact, mockApplicationContent, of.

Analyze Your Own Codebase

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

Try Supermodel Free