Class Docker.DockerRegistry

java.lang.Object
org.springframework.boot.maven.Docker.DockerRegistry
Enclosing class:
Docker

public static class Docker.DockerRegistry extends Object
Encapsulates Docker registry authentication configuration options.
  • Constructor Details

    • DockerRegistry

      public DockerRegistry()
    • DockerRegistry

      public DockerRegistry(String username, String password, String url, String email)
    • DockerRegistry

      public DockerRegistry(String token)
  • Method Details

    • getUsername

      public String getUsername()
      The username that will be used for user authentication to the registry.
      Returns:
      the username
    • getPassword

      public String getPassword()
      The password that will be used for user authentication to the registry.
      Returns:
      the password
    • getEmail

      public String getEmail()
      The email address that will be used for user authentication to the registry.
      Returns:
      the email address
    • getToken

      public String getToken()
      The token that will be used for token authentication to the registry.
      Returns:
      the authentication token