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
AbortException
IOException
public qshaded.com.google.gson.JsonObject executeHttpRequest(String action, String path) throws AbortException
AbortException
public boolean tagImage(String imageIdOrName, String imageSha) throws AbortException, IOException
AbortException
IOException
public String fetchImageSha(String image, String dockerCert) throws AbortException
AbortException
public boolean isCICDSensorUp() throws IOException, AbortException
IOException
AbortException
Copyright © 2016–2024 Qualys Inc.. All rights reserved.