Class SkopeoCopyConfiguration
- java.lang.Object
-
- nl.lexemmens.podman.config.skopeo.copy.SkopeoCopyConfiguration
-
public class SkopeoCopyConfiguration extends Object
Holds the configuration options specifically for using the copy functionality. This included options passed to the skopeo copy command.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleandestTlsVerifyDisable verifying the TLS connection for the destination image registry.protected booleandisableLocalDisable the local Maven repository during retrieving the container catalog file.protected StringreplaceStringThe searchString substring will be replaced by this string.protected StringsearchStringThis substring of the source container image will be replaced.protected StringsourceCatalogRepositoryOnly use this repository for retrieving the container catalog file.protected booleansrcTlsVerifyDisable verifying the TLS connection for the source image registry.
-
Constructor Summary
Constructors Constructor Description SkopeoCopyConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetDestTlsVerify()booleangetDisableLocal()StringgetReplaceString()StringgetSearchString()StringgetSourceCatalogRepository()booleangetSrcTlsVerify()
-
-
-
Field Detail
-
sourceCatalogRepository
@Parameter(property="skopeo.copy.source.catalog.repo") protected String sourceCatalogRepository
Only use this repository for retrieving the container catalog file.
-
disableLocal
@Parameter(property="skopeo.copy.catalog.repo.local.disable", defaultValue="false") protected boolean disableLocalDisable the local Maven repository during retrieving the container catalog file.
-
searchString
@Parameter(property="skopeo.copy.image.searchString", required=true) protected String searchStringThis substring of the source container image will be replaced.
-
replaceString
@Parameter(property="skopeo.copy.image.replaceString", required=true) protected String replaceStringThe searchString substring will be replaced by this string.
-
srcTlsVerify
@Parameter(property="skopeo.copy.srcTlsVerify", defaultValue="true") protected boolean srcTlsVerifyDisable verifying the TLS connection for the source image registry.
-
destTlsVerify
@Parameter(property="skopeo.copy.destTlsVerify", defaultValue="true") protected boolean destTlsVerifyDisable verifying the TLS connection for the destination image registry.
-
-
Method Detail
-
getSearchString
public String getSearchString()
-
getReplaceString
public String getReplaceString()
-
getSourceCatalogRepository
public String getSourceCatalogRepository()
-
getDisableLocal
public boolean getDisableLocal()
-
getSrcTlsVerify
public boolean getSrcTlsVerify()
-
getDestTlsVerify
public boolean getDestTlsVerify()
-
-