public class DockerConnectionDetector extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DockerConnectionDetector.ConnectionParameter |
static interface |
DockerConnectionDetector.DockerHostProvider
Provider of environment variables like 'DOCKER_HOST'
|
Constructor and Description |
---|
DockerConnectionDetector(List<DockerConnectionDetector.DockerHostProvider> externalProviders) |
Modifier and Type | Method and Description |
---|---|
DockerConnectionDetector.ConnectionParameter |
detectConnectionParameter(String dockerHost,
String certPath)
Get the docker host url.
|
public DockerConnectionDetector(List<DockerConnectionDetector.DockerHostProvider> externalProviders)
public DockerConnectionDetector.ConnectionParameter detectConnectionParameter(String dockerHost, String certPath) throws IOException
dockerHost
- The dockerHost configuration settingcertPath
- The certificate pathIOException
- when URL handling failsCopyright © 2019. All rights reserved.