mirror of
https://github.com/containers/podman.git
synced 2025-06-24 11:28:24 +08: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
11 lines
203 B
Python
11 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()
|