Package org.springframework.boot.maven
Class Docker.DockerRegistry
java.lang.Object
org.springframework.boot.maven.Docker.DockerRegistry
- Enclosing class:
- Docker
Encapsulates Docker registry authentication configuration options.
-
Constructor Summary
ConstructorDescriptionDockerRegistry
(String token) DockerRegistry
(String username, String password, String url, String email) -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
The email address that will be used for user authentication to the registry.The password that will be used for user authentication to the registry.getToken()
The token that will be used for token authentication to the registry.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
-