Class DockerSpec.DockerRegistrySpec

java.lang.Object
org.springframework.boot.gradle.tasks.bundling.DockerSpec.DockerRegistrySpec
Enclosing class:
DockerSpec

public abstract static class DockerSpec.DockerRegistrySpec extends Object
Encapsulates Docker registry authentication configuration options.
  • Constructor Details

    • DockerRegistrySpec

      public DockerRegistrySpec()
  • Method Details

    • getUsername

      @Input @Optional public abstract Property<String> getUsername()
      Returns the username to use when authenticating to the Docker registry.
      Returns:
      the registry username
    • getPassword

      @Input @Optional public abstract Property<String> getPassword()
      Returns the password to use when authenticating to the Docker registry.
      Returns:
      the registry password
    • getUrl

      @Input @Optional public abstract Property<String> getUrl()
      Returns the Docker registry URL.
      Returns:
      the registry URL
    • getEmail

      @Input @Optional public abstract Property<String> getEmail()
      Returns the email address associated with the Docker registry username.
      Returns:
      the registry email address
    • getToken

      @Input @Optional public abstract Property<String> getToken()
      Returns the identity token to use when authenticating to the Docker registry.
      Returns:
      the registry identity token