summaryrefslogtreecommitdiffstats
path: root/cli/objects
diff options
context:
space:
mode:
Diffstat (limited to 'cli/objects')
-rw-r--r--cli/objects/images.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/cli/objects/images.py b/cli/objects/images.py
new file mode 100644
index 0000000..94c6386
--- /dev/null
+++ b/cli/objects/images.py
@@ -0,0 +1,14 @@
+#
+# Copyright (C) 2021 Soleta Networks <info@soleta.eu>
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the
+# Free Software Foundation, version 3.
+#
+
+class OgImage():
+
+ @staticmethod
+ def list_images(rest):
+ r = rest.get('/images')
+ print(r.text)