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

tagRenamesImage() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  0cf4f7bb_6a2c_9024_a39e_d3cb707206a7["tagRenamesImage()"]
  ffedf588_7c32_be87_49b5_6f0bec311aa1["http()"]
  0cf4f7bb_6a2c_9024_a39e_d3cb707206a7 -->|calls| ffedf588_7c32_be87_49b5_6f0bec311aa1
  5ebda6ce_1915_7ec7_82b6_9dbaace8503c["emptyResponse()"]
  0cf4f7bb_6a2c_9024_a39e_d3cb707206a7 -->|calls| 5ebda6ce_1915_7ec7_82b6_9dbaace8503c
  style 0cf4f7bb_6a2c_9024_a39e_d3cb707206a7 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 617–625

		@Test
		void tagRenamesImage() throws Exception {
			ImageReference sourceReference = ImageReference.of("localhost:5000/ubuntu");
			ImageReference targetReference = ImageReference.of("localhost:5000/ubuntu-2");
			URI tagURI = new URI(IMAGES_URL + "/localhost:5000/ubuntu/tag?repo=localhost%3A5000%2Fubuntu-2");
			given(http().post(tagURI)).willReturn(emptyResponse());
			this.api.tag(sourceReference, targetReference);
			then(http()).should().post(tagURI);
		}

Subdomains

Frequently Asked Questions

What does tagRenamesImage() do?
tagRenamesImage() is a function in the spring-boot codebase.
What does tagRenamesImage() call?
tagRenamesImage() 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