Class ResolvedDockerHost
java.lang.Object
org.springframework.boot.buildpack.platform.docker.configuration.DockerHost
org.springframework.boot.buildpack.platform.docker.configuration.ResolvedDockerHost
Resolves a
DockerHost from the environment, configuration, or using defaults.- Since:
- 2.7.0
- Author:
- Scott Frederick
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResolvedDockerHostfrom(DockerConfiguration.DockerHostConfiguration dockerHostConfiguration) Deprecated, for removal: This API element is subject to removal in a future version.static ResolvedDockerHostfrom(DockerConnectionConfiguration connectionConfiguration) Create a newResolvedDockerHostfrom the given host configuration.booleanbooleanisRemote()Methods inherited from class org.springframework.boot.buildpack.platform.docker.configuration.DockerHost
getCertificatePath, isSecure
-
Method Details
-
getAddress
- Overrides:
getAddressin classDockerHost
-
isRemote
public boolean isRemote() -
isLocalFileReference
public boolean isLocalFileReference() -
from
@Deprecated(since="3.5.0", forRemoval=true) public static ResolvedDockerHost from(DockerConfiguration.DockerHostConfiguration dockerHostConfiguration) Deprecated, for removal: This API element is subject to removal in a future version.since 3.5.0 for removal in 4.0.0 in favor offrom(DockerConnectionConfiguration)Create a newResolvedDockerHostfrom the given host configuration.- Parameters:
dockerHostConfiguration- the host configuration ornull- Returns:
- the resolved docker host
-
from
Create a newResolvedDockerHostfrom the given host configuration.- Parameters:
connectionConfiguration- the host configuration ornull- Returns:
- the resolved docker host
-
from(DockerConnectionConfiguration)