Uses of Class
io.fabric8.maven.docker.access.DockerAccessException
-
-
Uses of DockerAccessException in io.fabric8.maven.docker
Methods in io.fabric8.maven.docker that throw DockerAccessException Modifier and Type Method Description protected voidLogsMojo. executeInternal(ServiceHub hub)voidPushMojo. executeInternal(ServiceHub hub)Hook for subclass for doing the real jobprotected voidRemoveMojo. executeInternal(ServiceHub hub)protected voidSaveMojo. executeInternal(ServiceHub serviceHub)protected voidSourceMojo. executeInternal(ServiceHub hub)voidStartMojo. executeInternal(ServiceHub hub)Hook for subclass for doing the real jobvoidTagMojo. executeInternal(ServiceHub hub)protected voidVolumeCreateMojo. executeInternal(ServiceHub serviceHub)protected voidVolumeRemoveMojo. executeInternal(ServiceHub serviceHub)protected voidAbstractDockerMojo. pullImage(RegistryService registryService, ImageConfiguration imageConfig, String pullRegistry) -
Uses of DockerAccessException in io.fabric8.maven.docker.access
Methods in io.fabric8.maven.docker.access that throw DockerAccessException Modifier and Type Method Description voidDockerAccess. buildImage(String image, File dockerArchive, BuildOptions options)Create an docker image from a given archivevoidDockerAccess. copyArchiveFromContainer(String containerId, String containerPath, File archive)Copy file or directory from container as a tar archive.voidDockerAccess. copyArchiveToContainer(String containerId, File archive, String targetPath)Copy an archive (must be a tar) into a running container.StringDockerAccess. createContainer(ContainerCreateConfig configuration, String containerName)Create a container from the given image.StringDockerAccess. createExecContainer(String containerId, Arguments arguments)Sets up an exec instance for a running container idStringDockerAccess. createNetwork(NetworkCreateConfig configuration)Create a custom network from the given configuration.StringDockerAccess. createVolume(VolumeCreateConfig configuration)Create a volumeContainerDetailsDockerAccess. getContainer(String containerIdOrName)Get a containerList<Container>DockerAccess. getContainersForImage(String image, boolean all)Get all containers which are build from an image.ExecDetailsDockerAccess. getExecContainer(String containerIdOrName)Get an exec container which is the result of executing a command in a running container.StringDockerAccess. getImageId(String name)Get the image id of a given name ornullif no such image existsList<String>DockerAccess. getImageTags(String name)Get the list of tags of a given image name ornullif no such image existsStringDockerAccess. getServerApiVersion()Get the API version of the running serverbooleanDockerAccess. hasImage(String name)Check whether the given name exists as image at the docker daemonvoidDockerAccess. killContainer(String containerId)Kill a containerList<Container>DockerAccess. listContainers(boolean all)List all containers from the Docker server.List<Image>DockerAccess. listImages(boolean all)List the containers on the serverList<Network>DockerAccess. listNetworks()List all networksvoidDockerAccess. loadImage(String image, File tarArchive)Load an image from an archive.voidDockerAccess. pullImage(String image, AuthConfig authConfig, String registry, CreateImageOptions options)Pull an image from a remote registry and store it locally.voidDockerAccess. pushImage(String image, AuthConfig authConfig, String registry, int retries)Push an image to a registry.voidDockerAccess. removeContainer(String containerId, boolean removeVolumes)Remove a container with the given idbooleanDockerAccess. removeImage(String image, boolean force)Remove an image from this docker installationbooleanDockerAccess. removeNetwork(String networkId)Remove a custom networkvoidDockerAccess. removeVolume(String name)Removes a volume.voidDockerAccess. saveImage(String image, String filename, ArchiveCompression compression)Save an image to a tar filevoidDockerAccess. start()Lifecycle method for this access class which must be called before any other method is called.voidDockerAccess. startContainer(String containerId)Start a container.voidDockerAccess. startExecContainer(String containerId, LogOutputSpec outputSpec)Starts a previously set up exec instance (viaDockerAccess.createExecContainer(String, Arguments)container this API sets up a session with the exec command.voidDockerAccess. stopContainer(String containerId, int killWait)Stop a container.voidDockerAccess. tag(String sourceImage, String targetImage, boolean force)Alias an image in the repository with a complete new name. -
Uses of DockerAccessException in io.fabric8.maven.docker.access.chunked
Methods in io.fabric8.maven.docker.access.chunked that throw DockerAccessException Modifier and Type Method Description voidBuildJsonResponseHandler. process(com.google.gson.JsonObject json)voidEntityStreamReaderUtil.JsonEntityResponseHandler. process(com.google.gson.JsonObject toProcess)voidPullOrPushResponseJsonHandler. process(com.google.gson.JsonObject json) -
Uses of DockerAccessException in io.fabric8.maven.docker.access.hc
Methods in io.fabric8.maven.docker.access.hc that throw DockerAccessException Modifier and Type Method Description voidDockerAccessWithHcClient. buildImage(String image, File dockerArchive, BuildOptions options)voidDockerAccessWithHcClient. copyArchiveFromContainer(String containerId, String containerPath, File archive)voidDockerAccessWithHcClient. copyArchiveToContainer(String containerId, File archive, String targetPath)StringDockerAccessWithHcClient. createContainer(ContainerCreateConfig containerConfig, String containerName)StringDockerAccessWithHcClient. createExecContainer(String containerId, Arguments arguments)StringDockerAccessWithHcClient. createNetwork(NetworkCreateConfig networkConfig)StringDockerAccessWithHcClient. createVolume(VolumeCreateConfig containerConfig)ContainerDetailsDockerAccessWithHcClient. getContainer(String containerIdOrName)List<Container>DockerAccessWithHcClient. getContainersForImage(String image, boolean all)ExecDetailsDockerAccessWithHcClient. getExecContainer(String containerIdOrName)StringDockerAccessWithHcClient. getImageId(String name)List<String>DockerAccessWithHcClient. getImageTags(String name)booleanDockerAccessWithHcClient. hasImage(String name)voidDockerAccessWithHcClient. killContainer(String containerId)List<Container>DockerAccessWithHcClient. listContainers(boolean all)List<Image>DockerAccessWithHcClient. listImages(boolean all)List<Network>DockerAccessWithHcClient. listNetworks()voidDockerAccessWithHcClient. loadImage(String image, File tarArchive)voidDockerAccessWithHcClient. pullImage(String image, AuthConfig authConfig, String registry, CreateImageOptions options)voidDockerAccessWithHcClient. pushImage(String image, AuthConfig authConfig, String registry, int retries)voidDockerAccessWithHcClient. removeContainer(String containerId, boolean removeVolumes)booleanDockerAccessWithHcClient. removeImage(String image, boolean force)booleanDockerAccessWithHcClient. removeNetwork(String networkId)voidDockerAccessWithHcClient. removeVolume(String name)voidDockerAccessWithHcClient. saveImage(String image, String filename, ArchiveCompression compression)voidDockerAccessWithHcClient. startContainer(String containerId)voidDockerAccessWithHcClient. startExecContainer(String containerId, LogOutputSpec outputSpec)voidDockerAccessWithHcClient. stopContainer(String containerId, int killWait)voidDockerAccessWithHcClient. tag(String sourceImage, String targetImage, boolean force) -
Uses of DockerAccessException in io.fabric8.maven.docker.access.log
Methods in io.fabric8.maven.docker.access.log that return DockerAccessException Modifier and Type Method Description DockerAccessExceptionLogGetHandle. getException()DockerAccessExceptionLogRequestor. getException() -
Uses of DockerAccessException in io.fabric8.maven.docker.service
Methods in io.fabric8.maven.docker.service that throw DockerAccessException Modifier and Type Method Description voidBuildService. buildImage(ImageConfiguration imageConfig, ImagePullManager imagePullManager, BuildService.BuildContext buildContext, File buildArchiveFile)Pull the base image if needed and run the build.protected voidBuildService. buildImage(ImageConfiguration imageConfig, MojoParameters params, boolean noCache, boolean squash, Map<String,String> buildArgs, File dockerArchive)Build an imageStringRunService. createAndStartContainer(ImageConfiguration imageConfig, PortMapping portMapping, GavLabel gavLabel, Properties properties, File baseDir, String defaultContainerNamePattern, Date buildTimestamp)Create and start a container with the given image configuration.StringRunService. createContainer(ImageConfiguration imageConfig, PortMapping portMapping, GavLabel gavLabel, Properties properties, File baseDir, String defaultContainerNamePattern, Date buildTimestamp)Create a container with the given image configuration.voidRunService. createCustomNetworkIfNotExistant(String customNetwork)StringVolumeService. createVolume(VolumeConfiguration vc)List<String>RunService. createVolumesAsPerVolumeBinds(ServiceHub hub, List<String> binds, List<VolumeConfiguration> volumes)Creates a Volume if a volume is referred to during startup in bind mount mapping and a VolumeConfiguration existsStringRunService. execInContainer(String containerId, String command, ImageConfiguration imageConfiguration)Create and start a Exec container with the given image configuration.ContainerQueryService. getContainer(String containerIdOrName)Get a container running for a given container name.StringQueryService. getContainerName(String containerId)Get name for single container when the id is givenList<Container>QueryService. getContainersForImage(String image, boolean all)Get all containers which are build from an image.StringQueryService. getImageId(String imageName)Finds the id of an image.ContainerQueryService. getLatestContainerForImage(String image, boolean all)Get the id of the latest container started for an imageContainerQueryService. getMandatoryContainer(String containerIdOrName)Get container by idNetworkQueryService. getNetworkByName(String networkName)Get a network for a given network name.Set<Network>QueryService. getNetworks()Get all networks.booleanQueryService. hasContainer(String containerName)Check whether a container with the given name existsbooleanQueryService. hasImage(String name)Check whether the given Image is locally available.booleanQueryService. hasNetwork(String networkName)Check whether a network with the given name existsList<Container>QueryService. listContainers(boolean all)List all containers on the Docker server.List<Image>QueryService. listImages(boolean all)Get all images on the Docker server.voidRegistryService. pullImageWithPolicy(String image, ImagePullManager pullManager, RegistryService.RegistryConfig registryConfig, BuildImageConfiguration buildImageConfiguration)Check an image, and, ifautoPullis set to true, fetch it.voidRegistryService. pushImages(ProjectPaths projectPaths, Collection<ImageConfiguration> imageConfigs, int retries, RegistryService.RegistryConfig registryConfig, boolean skipTag)Push a set of images to a registryvoidRunService. removeContainer(String containerId, boolean removeVolumes)Remove a container.voidRunService. removeCustomNetworks(Collection<Network> networks)voidVolumeService. removeVolume(String volumeName)voidRunService. stopContainer(String containerId, ImageConfiguration imageConfig, boolean keepContainer, boolean removeVolumes)Stop a container immediately by id.voidRunService. stopPreviouslyStartedContainer(String containerId, boolean keepContainer, boolean removeVolumes)Lookup up whether a certain has been already started and registered.voidRunService. stopStartedContainers(boolean keepContainer, boolean removeVolumes, boolean removeCustomNetworks, GavLabel gavLabel)Stop all registered containervoidBuildService. tagImage(ImageConfiguration imageConfig)voidBuildService. tagImage(String imageName, String tag, String repo, CleanupMode cleanupMode)voidWatchService. watch(WatchService.WatchContext context, BuildService.BuildContext buildContext, List<ImageConfiguration> images) -
Uses of DockerAccessException in io.fabric8.maven.docker.service.helper
Methods in io.fabric8.maven.docker.service.helper that throw DockerAccessException Modifier and Type Method Description PropertiesStartContainerExecutor. queryContainerProperties(String containerId)
-