Class Docker.DockerRegistry
java.lang.Object
org.springframework.boot.maven.Docker.DockerRegistry
- Enclosing class:
Docker
Encapsulates Docker registry authentication configuration options.
- Since:
- 2.4.0
- Author:
- Wei Jiang, Scott Frederick
-
Constructor Summary
ConstructorsConstructorDescriptionDockerRegistry
(String token) DockerRegistry
(String username, String password, String url, String email) -
Method Summary
Modifier and TypeMethodDescription@Nullable String
getEmail()
The email address that will be used for user authentication to the registry.@Nullable String
The password that will be used for user authentication to the registry.@Nullable String
getToken()
The token that will be used for token authentication to the registry.@Nullable String
The username that will be used for user authentication to the registry.
-
Constructor Details
-
DockerRegistry
public DockerRegistry() -
DockerRegistry
-
DockerRegistry
-
-
Method Details
-
getUsername
The username that will be used for user authentication to the registry.- Returns:
- the username
-
getPassword
The password that will be used for user authentication to the registry.- Returns:
- the password
-
getEmail
The email address that will be used for user authentication to the registry.- Returns:
- the email address
-
getToken
The token that will be used for token authentication to the registry.- Returns:
- the authentication token
-