类 DockerSpec.DockerRegistrySpec
java.lang.Object
cn.taketoday.gradle.tasks.bundling.DockerSpec.DockerRegistrySpec
- 封闭类:
- DockerSpec
Encapsulates Docker registry authentication configuration options.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private booleanallPresent(org.gradle.api.provider.Property<?>... properties) abstract org.gradle.api.provider.Property<String>getEmail()Returns the email address associated with the Docker registry username.abstract org.gradle.api.provider.Property<String>Returns the password to use when authenticating to the Docker registry.abstract org.gradle.api.provider.Property<String>getToken()Returns the identity token to use when authenticating to the Docker registry.abstract org.gradle.api.provider.Property<String>getUrl()Returns the Docker registry URL.abstract org.gradle.api.provider.Property<String>Returns the username to use when authenticating to the Docker registry.(专用程序包) boolean(专用程序包) boolean(专用程序包) booleanprivate booleannonePresent(org.gradle.api.provider.Property<?>... properties)
-
构造器详细资料
-
DockerRegistrySpec
public DockerRegistrySpec()
-
-
方法详细资料
-
getUsername
Returns the username to use when authenticating to the Docker registry.- 返回:
- the registry username
-
getPassword
Returns the password to use when authenticating to the Docker registry.- 返回:
- the registry password
-
getUrl
Returns the Docker registry URL.- 返回:
- the registry URL
-
getEmail
Returns the email address associated with the Docker registry username.- 返回:
- the registry email address
-
getToken
Returns the identity token to use when authenticating to the Docker registry.- 返回:
- the registry identity token
-
hasEmptyAuth
boolean hasEmptyAuth() -
nonePresent
private boolean nonePresent(org.gradle.api.provider.Property<?>... properties) -
hasUserAuth
boolean hasUserAuth() -
allPresent
private boolean allPresent(org.gradle.api.provider.Property<?>... properties) -
hasTokenAuth
boolean hasTokenAuth()
-