public class Utils extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
Utils.DigestExtractingProgressHandler |
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
parseImageName(String imageName) |
static void |
pushImage(com.spotify.docker.client.DockerClient docker,
String imageName,
org.apache.maven.plugin.logging.Log log,
DockerBuildInformation buildInfo) |
static void |
writeImageInfoFile(DockerBuildInformation buildInfo,
String tagInfoFile) |
public static String[] parseImageName(String imageName) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic static void pushImage(com.spotify.docker.client.DockerClient docker,
String imageName,
org.apache.maven.plugin.logging.Log log,
DockerBuildInformation buildInfo)
throws org.apache.maven.plugin.MojoExecutionException,
com.spotify.docker.client.DockerException,
IOException,
InterruptedException
org.apache.maven.plugin.MojoExecutionExceptioncom.spotify.docker.client.DockerExceptionIOExceptionInterruptedExceptionpublic static void writeImageInfoFile(DockerBuildInformation buildInfo, String tagInfoFile) throws IOException
IOExceptionCopyright © 2015. All rights reserved.