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 |
---|---|
DockerSpec.DockerRegistrySpec |
getRegistry()
Returns the
DockerSpec.DockerRegistrySpec that configures registry authentication. |
void |
registry(org.gradle.api.Action<DockerSpec.DockerRegistrySpec> action)
Customizes the
DockerSpec.DockerRegistrySpec that configures registry authentication. |
void |
registry(groovy.lang.Closure<?> closure)
Customizes the
DockerSpec.DockerRegistrySpec that configures registry authentication. |
public DockerSpec.DockerRegistrySpec getRegistry()
DockerSpec.DockerRegistrySpec
that configures registry authentication.public void registry(org.gradle.api.Action<DockerSpec.DockerRegistrySpec> action)
DockerSpec.DockerRegistrySpec
that configures registry authentication.action
- the action to applypublic void registry(groovy.lang.Closure<?> closure)
DockerSpec.DockerRegistrySpec
that configures registry authentication.closure
- the closure to apply