public class Utils extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
Utils.DigestExtractingProgressHandler |
| Modifier and Type | Field and Description |
|---|---|
static String |
PUSH_FAIL_WARN_TEMPLATE |
| 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,
int retryPushCount,
int retryPushTimeout) |
static void |
pushImageTag(com.spotify.docker.client.DockerClient docker,
String imageName,
List<String> imageTags,
org.apache.maven.plugin.logging.Log log) |
static void |
writeImageInfoFile(DockerBuildInformation buildInfo,
String tagInfoFile) |
public static final String PUSH_FAIL_WARN_TEMPLATE
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,
int retryPushCount,
int retryPushTimeout)
throws org.apache.maven.plugin.MojoExecutionException,
com.spotify.docker.client.DockerException,
IOException,
InterruptedException
org.apache.maven.plugin.MojoExecutionExceptioncom.spotify.docker.client.DockerExceptionIOExceptionInterruptedExceptionpublic static void pushImageTag(com.spotify.docker.client.DockerClient docker,
String imageName,
List<String> imageTags,
org.apache.maven.plugin.logging.Log log)
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 © 2016. All rights reserved.