Class DockerSpec.DockerRegistrySpec
java.lang.Object
org.springframework.boot.gradle.tasks.bundling.DockerSpec.DockerRegistrySpec
- Enclosing class:
- DockerSpec
Encapsulates Docker registry authentication configuration options.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
Returns the email address associated with the Docker registry username.Returns the password to use when authenticating to the Docker registry.getToken()
Returns the identity token to use when authenticating to the Docker registry.getUrl()
Returns the Docker registry URL.Returns the username to use when authenticating to the Docker registry.
-
Constructor Details
-
DockerRegistrySpec
public DockerRegistrySpec()
-
-
Method Details
-
getUsername
Returns the username to use when authenticating to the Docker registry.- Returns:
- the registry username
-
getPassword
Returns the password to use when authenticating to the Docker registry.- Returns:
- the registry password
-
getUrl
Returns the Docker registry URL.- Returns:
- the registry URL
-
getEmail
Returns the email address associated with the Docker registry username.- Returns:
- the registry email address
-
getToken
Returns the identity token to use when authenticating to the Docker registry.- Returns:
- the registry identity token
-