public class DockerClientHelper extends Object
| Constructor and Description |
|---|
DockerClientHelper() |
DockerClientHelper(PrintStream buildLogger,
String dockerURL,
String dockerCert) |
| Modifier and Type | Method and Description |
|---|---|
qshaded.com.google.gson.JsonObject |
executeHttpRequest(String action,
String path) |
qshaded.com.google.gson.JsonObject |
executeSocketRequest(String method,
String api) |
String |
fetchImageSha(String image,
String dockerCert) |
boolean |
isCICDSensorUp() |
boolean |
tagImage(String imageIdOrName,
String imageSha) |
public DockerClientHelper()
public DockerClientHelper(PrintStream buildLogger, String dockerURL, String dockerCert)
public qshaded.com.google.gson.JsonObject executeSocketRequest(String method, String api) throws AbortException, IOException
AbortExceptionIOExceptionpublic qshaded.com.google.gson.JsonObject executeHttpRequest(String action, String path) throws AbortException
AbortExceptionpublic boolean tagImage(String imageIdOrName, String imageSha) throws AbortException, IOException
AbortExceptionIOExceptionpublic String fetchImageSha(String image, String dockerCert) throws AbortException
AbortExceptionpublic boolean isCICDSensorUp()
throws IOException,
AbortException
IOExceptionAbortExceptionCopyright © 2016–2023 Qualys Inc.. All rights reserved.