public class DockerSpec
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DockerSpec.DockerRegistrySpec
Encapsulates Docker registry authentication configuration options.
|
Constructor and Description |
---|
DockerSpec() |
Modifier and Type | Method and Description |
---|---|
void |
builderRegistry(org.gradle.api.Action<DockerSpec.DockerRegistrySpec> action)
Customizes the
DockerSpec.DockerRegistrySpec that configures authentication to the
builder registry. |
void |
builderRegistry(groovy.lang.Closure<?> closure)
Customizes the
DockerSpec.DockerRegistrySpec that configures authentication to the
builder registry. |
DockerSpec.DockerRegistrySpec |
getBuilderRegistry()
Returns the
DockerSpec.DockerRegistrySpec that configures authentication to the
builder registry. |
java.lang.String |
getCertPath() |
java.lang.String |
getHost() |
DockerSpec.DockerRegistrySpec |
getPublishRegistry()
Returns the
DockerSpec.DockerRegistrySpec that configures authentication to the
publishing registry. |
java.lang.Boolean |
isTlsVerify() |
void |
publishRegistry(org.gradle.api.Action<DockerSpec.DockerRegistrySpec> action)
Customizes the
DockerSpec.DockerRegistrySpec that configures authentication to the
publishing registry. |
void |
publishRegistry(groovy.lang.Closure<?> closure)
Customizes the
DockerSpec.DockerRegistrySpec that configures authentication to the
publishing registry. |
void |
setCertPath(java.lang.String certPath) |
void |
setHost(java.lang.String host) |
void |
setTlsVerify(boolean tlsVerify) |
@Input @Optional public java.lang.String getHost()
public void setHost(java.lang.String host)
@Input @Optional public java.lang.Boolean isTlsVerify()
public void setTlsVerify(boolean tlsVerify)
@Input @Optional public java.lang.String getCertPath()
public void setCertPath(java.lang.String certPath)
public DockerSpec.DockerRegistrySpec getBuilderRegistry()
DockerSpec.DockerRegistrySpec
that configures authentication to the
builder registry.public void builderRegistry(org.gradle.api.Action<DockerSpec.DockerRegistrySpec> action)
DockerSpec.DockerRegistrySpec
that configures authentication to the
builder registry.action
- the action to applypublic void builderRegistry(groovy.lang.Closure<?> closure)
DockerSpec.DockerRegistrySpec
that configures authentication to the
builder registry.closure
- the closure to applypublic DockerSpec.DockerRegistrySpec getPublishRegistry()
DockerSpec.DockerRegistrySpec
that configures authentication to the
publishing registry.public void publishRegistry(org.gradle.api.Action<DockerSpec.DockerRegistrySpec> action)
DockerSpec.DockerRegistrySpec
that configures authentication to the
publishing registry.action
- the action to applypublic void publishRegistry(groovy.lang.Closure<?> closure)
DockerSpec.DockerRegistrySpec
that configures authentication to the
publishing registry.closure
- the closure to apply