public class DockerClientHelper extends Object
| Constructor and Description |
|---|
DockerClientHelper() |
DockerClientHelper(PrintStream buildLogger) |
| Modifier and Type | Method and Description |
|---|---|
String |
fetchImageSha(com.github.dockerjava.api.DockerClient dockerClient,
String image) |
com.github.dockerjava.api.DockerClient |
getDockerClient(String dockerUrl,
String dockerCert) |
boolean |
isCICDSensorUp(com.github.dockerjava.api.DockerClient dockerClient) |
void |
tagTheImage(com.github.dockerjava.api.DockerClient dockerClient,
String imageIdOrName,
String imageId) |
public DockerClientHelper()
public DockerClientHelper(PrintStream buildLogger)
public com.github.dockerjava.api.DockerClient getDockerClient(String dockerUrl, String dockerCert)
public String fetchImageSha(com.github.dockerjava.api.DockerClient dockerClient, String image) throws AbortException, UnknownHostException
AbortExceptionUnknownHostExceptionpublic void tagTheImage(com.github.dockerjava.api.DockerClient dockerClient,
String imageIdOrName,
String imageId)
throws AbortException
AbortExceptionpublic boolean isCICDSensorUp(com.github.dockerjava.api.DockerClient dockerClient)
throws AbortException
AbortExceptionCopyright © 2016–2021 Qualys Inc.. All rights reserved.