Class DockerSpec
java.lang.Object
org.springframework.boot.gradle.tasks.bundling.DockerSpec
Encapsulates Docker configuration options.
- Since:
- 2.4.0
- Author:
- Wei Jiang, Scott Frederick
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Encapsulates Docker registry authentication configuration options. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Customizes theDockerSpec.DockerRegistrySpec
that configures authentication to the builder registry.Returns theDockerSpec.DockerRegistrySpec
that configures authentication to the builder registry.getHost()
Returns theDockerSpec.DockerRegistrySpec
that configures authentication to the publishing registry.void
Customizes theDockerSpec.DockerRegistrySpec
that configures authentication to the publishing registry.
-
Constructor Details
-
DockerSpec
-
-
Method Details
-
getContext
-
getHost
-
getTlsVerify
-
getCertPath
-
getBindHostToBuilder
-
getBuilderRegistry
Returns theDockerSpec.DockerRegistrySpec
that configures authentication to the builder registry.- Returns:
- the registry spec
-
builderRegistry
Customizes theDockerSpec.DockerRegistrySpec
that configures authentication to the builder registry.- Parameters:
action
- the action to apply
-
getPublishRegistry
Returns theDockerSpec.DockerRegistrySpec
that configures authentication to the publishing registry.- Returns:
- the registry spec
-
publishRegistry
Customizes theDockerSpec.DockerRegistrySpec
that configures authentication to the publishing registry.- Parameters:
action
- the action to apply
-