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

getCredentials() — spring-boot Function Reference

Architecture documentation for the getCredentials() function in DockerRegistryConfigAuthenticationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  b60ad1ae_ea4a_04ee_b40a_b5902edd11b8["getCredentials()"]
  fbe0e131_bc90_ac8e_a14b_d98f5e367279["mockHelper()"]
  fbe0e131_bc90_ac8e_a14b_d98f5e367279 -->|calls| b60ad1ae_ea4a_04ee_b40a_b5902edd11b8
  58994152_b05e_a16f_283c_b6dc2c064895["get()"]
  b60ad1ae_ea4a_04ee_b40a_b5902edd11b8 -->|calls| 58994152_b05e_a16f_283c_b6dc2c064895
  style b60ad1ae_ea4a_04ee_b40a_b5902edd11b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/configuration/DockerRegistryConfigAuthenticationTests.java lines 423–427

	private Credential getCredentials(String resourceName) throws Exception {
		try (InputStream inputStream = new ClassPathResource(resourceName).getInputStream()) {
			return new Credential(SharedJsonMapper.get().readTree(inputStream));
		}
	}

Subdomains

Calls

Called By

Frequently Asked Questions

What does getCredentials() do?
getCredentials() is a function in the spring-boot codebase.
What does getCredentials() call?
getCredentials() calls 1 function(s): get.
What calls getCredentials()?
getCredentials() is called by 1 function(s): mockHelper.

Analyze Your Own Codebase

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

Try Supermodel Free