Package io.fabric8.maven.docker.service
Class ServiceHub
- java.lang.Object
-
- io.fabric8.maven.docker.service.ServiceHub
-
public class ServiceHub extends Object
A service hub responsible for creating and managing services which are used by Mojos for calling to the docker backend. The docker backend (DAO) is injected from the outside.- Since:
- 01/12/15
- Author:
- roland
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArchiveServicegetArchiveService()Service for creating archivesBuildServicegetBuildService()Service for doing the build against a Docker daemonBuildXServicegetBuildXService()Build multi-architecture imagesDockerAccessgetDockerAccess()Get access object for contacting the docker daemonDockerAssemblyManagergetDockerAssemblyManager()QueryServicegetQueryService()Get the query service for obtaining information about containers and imagesRegistryServicegetRegistryService()Get the registry service to push/pull imagesRunServicegetRunService()The run service is responsible for creating and starting up containersVolumeServicegetVolumeService()The volume service is responsible for creating volumesWaitServicegetWaitService()The wait service is responsible on waiting on container based on several conditionsWatchServicegetWatchService()The watch service is responsible for watching container status and rebuilding
-
-
-
Method Detail
-
getDockerAccess
public DockerAccess getDockerAccess()
Get access object for contacting the docker daemon- Returns:
- docker access object
-
getBuildService
public BuildService getBuildService()
Service for doing the build against a Docker daemon- Returns:
- get the build service
-
getQueryService
public QueryService getQueryService()
Get the query service for obtaining information about containers and images- Returns:
- query service
-
getRegistryService
public RegistryService getRegistryService()
Get the registry service to push/pull images- Returns:
- query service
-
getRunService
public RunService getRunService()
The run service is responsible for creating and starting up containers- Returns:
- the run service
-
getVolumeService
public VolumeService getVolumeService()
The volume service is responsible for creating volumes- Returns:
- the run service
-
getWatchService
public WatchService getWatchService()
The watch service is responsible for watching container status and rebuilding- Returns:
- the watch service
-
getWaitService
public WaitService getWaitService()
The wait service is responsible on waiting on container based on several conditions- Returns:
- the wait service
-
getBuildXService
public BuildXService getBuildXService()
Build multi-architecture images- Returns:
- the buildx builder
-
getArchiveService
public ArchiveService getArchiveService()
Service for creating archives- Returns:
- the archive service
-
getDockerAssemblyManager
public DockerAssemblyManager getDockerAssemblyManager()
-
-