fromCurrentContext() — spring-boot Function Reference
Architecture documentation for the fromCurrentContext() function in DockerHost.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 06eb129f_440c_6c13_fd45_5f8a0c49aeea["fromCurrentContext()"] c2f4e932_4b6f_4229_586b_29d1de980d15["get()"] c2f4e932_4b6f_4229_586b_29d1de980d15 -->|calls| 06eb129f_440c_6c13_fd45_5f8a0c49aeea 0dcd3c15_d196_64c4_45a4_86dbef0a674f["getCurrentContext()"] 06eb129f_440c_6c13_fd45_5f8a0c49aeea -->|calls| 0dcd3c15_d196_64c4_45a4_86dbef0a674f c2f4e932_4b6f_4229_586b_29d1de980d15["get()"] 06eb129f_440c_6c13_fd45_5f8a0c49aeea -->|calls| c2f4e932_4b6f_4229_586b_29d1de980d15 f8ad2dec_1fe2_fb19_96c7_70972eddb19c["fromEndpoint()"] 06eb129f_440c_6c13_fd45_5f8a0c49aeea -->|calls| f8ad2dec_1fe2_fb19_96c7_70972eddb19c style 06eb129f_440c_6c13_fd45_5f8a0c49aeea fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/core/DockerHost.java lines 103–106
private static @Nullable String fromCurrentContext(Supplier<List<DockerCliContextResponse>> contextsSupplier) {
DockerCliContextResponse current = getCurrentContext(contextsSupplier.get());
return (current != null) ? fromEndpoint(current.dockerEndpoint()) : null;
}
Domain
Subdomains
Calls
- fromEndpoint()
- get()
- getCurrentContext()
Called By
Source
Frequently Asked Questions
What does fromCurrentContext() do?
fromCurrentContext() is a function in the spring-boot codebase.
What does fromCurrentContext() call?
fromCurrentContext() calls 3 function(s): fromEndpoint, get, getCurrentContext.
What calls fromCurrentContext()?
fromCurrentContext() is called by 1 function(s): get.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free