public class DockerPluginExtension
extends java.lang.Object
| Constructor and Description |
|---|
DockerPluginExtension(org.gradle.api.Project project) |
| Modifier and Type | Method and Description |
|---|---|
de.gesellix.docker.client.authentication.AuthConfig |
getAuthConfig() |
java.lang.String |
getCertPath()
Returns the certificate path as an absolute path to the certificate.
|
java.lang.String |
getDockerHost() |
java.net.Proxy |
getProxy() |
void |
setAuthConfig(de.gesellix.docker.client.authentication.AuthConfig authConfig) |
void |
setAuthConfigEncoded(java.lang.String ignored)
Deprecated.
The authConfigEncoded property is not supported anymore. Please use authConfig instead.
|
void |
setAuthConfigPlain(de.gesellix.docker.client.authentication.AuthConfig authConfigPlain)
Deprecated.
The authConfigPlain property will be removed. Please use authConfig instead.
|
void |
setCertPath(java.lang.String path)
Allows for the setting of the path where certificates can be found.
|
void |
setDockerHost(java.lang.String dockerHost) |
void |
setProxy(java.net.Proxy proxy) |
public DockerPluginExtension(org.gradle.api.Project project)
@Deprecated public void setAuthConfigPlain(de.gesellix.docker.client.authentication.AuthConfig authConfigPlain)
authConfig@Deprecated public void setAuthConfigEncoded(java.lang.String ignored)
authConfigpublic void setCertPath(java.lang.String path)
path - Any path object that can be resolved via project.file ( )public java.lang.String getCertPath()
certPath was not configured it will attempt to check for system property
docker.cert.path first and then for the DOCKER_CERT_PATH environment variable.public java.lang.String getDockerHost()
public void setDockerHost(java.lang.String dockerHost)
public java.net.Proxy getProxy()
public void setProxy(java.net.Proxy proxy)
public de.gesellix.docker.client.authentication.AuthConfig getAuthConfig()
public void setAuthConfig(de.gesellix.docker.client.authentication.AuthConfig authConfig)