Package io.fabric8.maven.docker.access
Interface DockerConnectionDetector.DockerHostProvider
-
- All Known Implementing Classes:
DockerMachine
- Enclosing class:
- DockerConnectionDetector
public static interface DockerConnectionDetector.DockerHostProviderProvider of environment variables like 'DOCKER_HOST'
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDockerConnectionDetector.DockerHostProvider.Comparator
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DockerConnectionDetector.ConnectionParametergetConnectionParameter(String certPath)Get value of the docker host as detected by this provider.intgetPriority()Get the priority of the env provider.
-
-
-
Method Detail
-
getConnectionParameter
DockerConnectionDetector.ConnectionParameter getConnectionParameter(String certPath) throws IOException
Get value of the docker host as detected by this provider. Return null if it couldn't be detected.- Parameters:
certPath-- Returns:
- the docker host parameter or null
- Throws:
IOException
-
getPriority
int getPriority()
Get the priority of the env provider. A priority of -1 means, this is a 'fallback' called as last resort.- Returns:
- priority, the higher, the earlier the provider is called. The highest priority of internal providers are not larger than 100.
-
-