mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-17 19:37:32 +00:00
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 <bbaude@redhat.com> Closes: #669 Approved by: baude
10 lines
203 B
Python
10 lines
203 B
Python
|
|
class System(object):
|
|
def __init__(self, client):
|
|
self.client = client
|
|
|
|
def Ping(self):
|
|
return self.client.Ping()
|
|
|
|
def Version(self):
|
|
return self.client.GetVersion()
|