summaryrefslogtreecommitdiff
path: root/contrib/libpodpy/images.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libpodpy/images.py')
-rw-r--r--contrib/libpodpy/images.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/libpodpy/images.py b/contrib/libpodpy/images.py
new file mode 100644
index 000000000..f54736a21
--- /dev/null
+++ b/contrib/libpodpy/images.py
@@ -0,0 +1,15 @@
+
+class Images(object):
+ """
+ The Images class deals with image related functions for libpod.
+ """
+
+ def __init__(self, client):
+ self.client = client
+
+ def List(self):
+ """
+ Lists all images in the libpod image store
+ return: a list of ImageList objects
+ """
+ return self.client.ListImages()