Class DockerClientHelper
java.lang.Object
com.qualys.plugins.containerSecurity.util.DockerClientHelper
-
Constructor Summary
ConstructorsConstructorDescriptionDockerClientHelper(PrintStream buildLogger, String dockerURL, String dockerCert) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonObjectexecuteHttpRequest(String action, String path) com.google.gson.JsonObjectexecuteSocketRequest(String method, String api) fetchImageSha(String image, String dockerCert) booleanboolean
-
Constructor Details
-
DockerClientHelper
public DockerClientHelper() -
DockerClientHelper
-
-
Method Details
-
executeSocketRequest
public com.google.gson.JsonObject executeSocketRequest(String method, String api) throws AbortException, IOException - Throws:
AbortExceptionIOException
-
executeHttpRequest
public com.google.gson.JsonObject executeHttpRequest(String action, String path) throws AbortException - Throws:
AbortException
-
tagImage
- Throws:
AbortExceptionIOException
-
fetchImageSha
- Throws:
AbortException
-
isCICDSensorUp
- Throws:
IOExceptionAbortException
-