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
Nested ClassesModifier and TypeClassDescriptionstatic classEncapsulates Docker registry authentication configuration options. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCustomizes theDockerSpec.DockerRegistrySpecthat configures authentication to the builder registry.Returns theDockerSpec.DockerRegistrySpecthat configures authentication to the builder registry.getHost()Returns theDockerSpec.DockerRegistrySpecthat configures authentication to the publishing registry.voidCustomizes theDockerSpec.DockerRegistrySpecthat configures authentication to the publishing registry.
-
Constructor Details
-
DockerSpec
-
-
Method Details
-
getContext
-
getHost
-
getTlsVerify
-
getCertPath
-
getBindHostToBuilder
-
getBuilderRegistry
Returns theDockerSpec.DockerRegistrySpecthat configures authentication to the builder registry.- Returns:
- the registry spec
-
builderRegistry
Customizes theDockerSpec.DockerRegistrySpecthat configures authentication to the builder registry.- Parameters:
action- the action to apply
-
getPublishRegistry
Returns theDockerSpec.DockerRegistrySpecthat configures authentication to the publishing registry.- Returns:
- the registry spec
-
publishRegistry
Customizes theDockerSpec.DockerRegistrySpecthat configures authentication to the publishing registry.- Parameters:
action- the action to apply
-