Implement pod varlink bindings

* Update varlink document
* Add NoContainersInPod error in go and python
* Add support for varlink pod interface
* New code passes pylint
* Fix bug in test_runner.sh
* Update integration tests for race condition on status check
* Add missing port config file support

Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
Jhon Honce
2018-09-25 10:09:16 -07:00
parent df978a264d
commit 9074565f4e
14 changed files with 981 additions and 18 deletions

View File

@ -69,8 +69,8 @@ class PodmanArgumentParser(argparse.ArgumentParser):
self.add_argument(
'--username',
'-l',
default=getpass.getuser(),
help='Authenicating user on remote host. (default: %(default)s)')
help='Authenicating user on remote host. (default: {})'.format(
getpass.getuser()))
self.add_argument(
'--host', help='name of remote host. (default: None)')
self.add_argument(
@ -174,6 +174,13 @@ class PodmanArgumentParser(argparse.ArgumentParser):
or getpass.getuser()
) # yapf:disable
reqattr(
'port',
getattr(args, 'port')
or os.environ.get('PORT')
or config['default'].get('port', None)
) # yapf:disable
reqattr(
'remote_socket_path',
getattr(args, 'remote_socket_path')