From 39a7a773a653176e294382bc6301275fd57aff6b Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 23 Apr 2018 13:32:41 -0500 Subject: varlink images implement varlink image functions for working with libpod with the exception of a couple due to incompletions on the libpod side of things (build). also, created a first pass at a libpodpy package which will stand as a client to working with libpod's varlink methods using python. Signed-off-by: baude Closes: #669 Approved by: baude --- varlink_client.py | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 varlink_client.py (limited to 'varlink_client.py') diff --git a/varlink_client.py b/varlink_client.py deleted file mode 100644 index 7446e3012..000000000 --- a/varlink_client.py +++ /dev/null @@ -1,9 +0,0 @@ -from varlink import (Client, VarlinkError) -import json - -address = "unix:/run/podman/io.projectatomic.podman" - -with Client(address=address) as client: - podman = client.open('io.projectatomic.podman') - response = podman.GetVersion() - print(json.dumps(response, indent=4, separators=(',', ': '))) \ No newline at end of file -- cgit v1.2.3-54-g00ecf