public abstract class AbstractImagePullPolicy extends java.lang.Object implements ImagePullPolicy
| Constructor and Description |
|---|
AbstractImagePullPolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldPull(DockerImageName imageName) |
protected abstract boolean |
shouldPullCached(DockerImageName imageName,
ImageData localImageData)
Implement this method to decide whether a locally available image should be pulled
(e.g.
|
public boolean shouldPull(DockerImageName imageName)
shouldPull in interface ImagePullPolicyprotected abstract boolean shouldPullCached(DockerImageName imageName, ImageData localImageData)
true to update the locally available image, false to use local instead