Skip to content

Commit d4a2a2b

Browse files
authored
Update ImageService.java
1 parent f4da3b6 commit d4a2a2b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

core/src/main/java/org/openstack4j/api/image/v2/ImageService.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import org.openstack4j.common.RestService;
44
import org.openstack4j.model.common.ActionResponse;
55
import org.openstack4j.model.common.Payload;
6+
import org.openstack4j.model.image.v2.CachedImage;
67
import org.openstack4j.model.image.v2.Image;
78
import org.openstack4j.model.image.v2.ImageUpdate;
89
import org.openstack4j.model.image.v2.Member;
@@ -32,6 +33,13 @@ public interface ImageService extends RestService {
3233
* @return list of images fitered by filteringParams
3334
*/
3435
List<? extends Image> list(Map<String, String> filteringParams);
36+
37+
/**
38+
* List images currently in the glance image cache.
39+
*
40+
* @return list of cached images or empty list if the cache is empty or null if the cache is not enabled.
41+
*/
42+
List<? extends CachedImage> listCachedImages() ;
3543

3644
/**
3745
* Show details for an image by imageid.

0 commit comments

Comments
 (0)