Class ContainerdNerdctlClientHelper
- java.lang.Object
-
- com.qualys.plugins.containerSecurity.util.ContainerdNerdctlClientHelper
-
public class ContainerdNerdctlClientHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description ContainerdNerdctlClientHelper(PrintStream buildLogger, String nerdctlBinaryPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
fetchImageSha(String image)
boolean
isCICDSensorUp()
void
tagImage(String name, String imageSha)
void
validateNerdctlBinaryPath()
-
-
-
Constructor Detail
-
ContainerdNerdctlClientHelper
public ContainerdNerdctlClientHelper(PrintStream buildLogger, String nerdctlBinaryPath)
-
-
Method Detail
-
isCICDSensorUp
public boolean isCICDSensorUp() throws AbortException
- Throws:
AbortException
-
fetchImageSha
public String fetchImageSha(String image) throws AbortException
- Throws:
AbortException
-
tagImage
public void tagImage(String name, String imageSha) throws AbortException
- Throws:
AbortException
-
validateNerdctlBinaryPath
public void validateNerdctlBinaryPath() throws AbortException
- Throws:
AbortException
-
-