tag() — spring-boot Function Reference
Architecture documentation for the tag() function in DockerApi.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 6bc20fa8_bbdf_9fce_247f_eef5ab2e1a12["tag()"] d1757773_1e32_5f99_15ef_5bbc9a9d8dd2["buildUrl()"] 6bc20fa8_bbdf_9fce_247f_eef5ab2e1a12 -->|calls| d1757773_1e32_5f99_15ef_5bbc9a9d8dd2 ca5b7304_853e_ce14_eead_6dc5ab23519b["inTaglessForm()"] 6bc20fa8_bbdf_9fce_247f_eef5ab2e1a12 -->|calls| ca5b7304_853e_ce14_eead_6dc5ab23519b fe17330d_1d3c_c6fb_1bd5_6cb12e48b7be["http()"] 6bc20fa8_bbdf_9fce_247f_eef5ab2e1a12 -->|calls| fe17330d_1d3c_c6fb_1bd5_6cb12e48b7be 2e980859_726d_4db2_8918_0123b277ee48["getTag()"] 6bc20fa8_bbdf_9fce_247f_eef5ab2e1a12 -->|calls| 2e980859_726d_4db2_8918_0123b277ee48 style 6bc20fa8_bbdf_9fce_247f_eef5ab2e1a12 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/DockerApi.java lines 390–398
public void tag(ImageReference sourceReference, ImageReference targetReference) throws IOException {
Assert.notNull(sourceReference, "'sourceReference' must not be null");
Assert.notNull(targetReference, "'targetReference' must not be null");
String tag = targetReference.getTag();
String path = "/images/" + sourceReference + "/tag";
URI uri = (tag != null) ? buildUrl(path, "repo", targetReference.inTaglessForm(), "tag", tag)
: buildUrl(path, "repo", targetReference);
http().post(uri).close();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does tag() do?
tag() is a function in the spring-boot codebase.
What does tag() call?
tag() calls 4 function(s): buildUrl, getTag, http, inTaglessForm.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free