public class DockerSpec extends 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. |
String |
getCertPath() |
String |
getHost() |
DockerSpec.DockerRegistrySpec |
getPublishRegistry()
Returns the
DockerSpec.DockerRegistrySpec that configures authentication to the
publishing registry. |
Boolean |
isBindHostToBuilder() |
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 |
setBindHostToBuilder(boolean use) |
void |
setCertPath(String certPath) |
void |
setHost(String host) |
void |
setTlsVerify(boolean tlsVerify) |
@Input @Optional public String getHost()
public void setHost(String host)
@Input @Optional public Boolean isTlsVerify()
public void setTlsVerify(boolean tlsVerify)
@Input @Optional public String getCertPath()
public void setCertPath(String certPath)
@Input @Optional public Boolean isBindHostToBuilder()
public void setBindHostToBuilder(boolean use)
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