File tree Expand file tree Collapse file tree
core/src/main/java/org/openstack4j/api/image/v2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import org .openstack4j .common .RestService ;
44import org .openstack4j .model .common .ActionResponse ;
55import org .openstack4j .model .common .Payload ;
6+ import org .openstack4j .model .image .v2 .CachedImage ;
67import org .openstack4j .model .image .v2 .Image ;
78import org .openstack4j .model .image .v2 .ImageUpdate ;
89import 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.
You can’t perform that action at this time.
0 commit comments