public class RegistryService extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
pullImageWithPolicy(String image,
ImagePullManager pullManager,
org.eclipse.jkube.kit.common.RegistryConfig registryConfig,
org.eclipse.jkube.kit.config.image.build.BuildConfiguration buildConfiguration)
Check an image, and, if
autoPull is set to true, fetch it. |
void |
pushImage(org.eclipse.jkube.kit.config.image.ImageConfiguration imageConfig,
int retries,
org.eclipse.jkube.kit.common.RegistryConfig registryConfig,
boolean skipTag)
Push a set of images to a registry
|
public void pushImage(org.eclipse.jkube.kit.config.image.ImageConfiguration imageConfig,
int retries,
org.eclipse.jkube.kit.common.RegistryConfig registryConfig,
boolean skipTag)
throws IOException
imageConfig - image to push (but only if they have a build configuration)retries - how often to retryregistryConfig - a global registry configurationskipTag - flag to skip pushing tagged imagesIOException - exceptionpublic void pullImageWithPolicy(String image, ImagePullManager pullManager, org.eclipse.jkube.kit.common.RegistryConfig registryConfig, org.eclipse.jkube.kit.config.image.build.BuildConfiguration buildConfiguration) throws IOException
autoPull is set to true, fetch it. Otherwise if the image
is not existent, throw an errorimage - imagepullManager - image pull managerregistryConfig - registry configurationbuildConfiguration - build configurationIOException - exceptionCopyright © 2023. All rights reserved.