debian-forge/osbuild
Christian Kellner 6f26b49b9f api: ability to auto-generate socket addresses
Make the `socket_address` argument to `BaseAPI` optional, i.e.
allow it to be `None`. In that case, create a temporary directory
and place the socket, named with the value of `endpoint`, in that
directory. On context exit, the directory is cleaned up. As long
as the jsoncomm.Socket server is running, `socket_address` will
always be valid and indicating the address of the server.
2020-07-27 12:50:38 +01:00
..
util util/jsoncomm: support PathLike 2020-07-27 12:50:38 +01:00
__init__.py osbuild: extract CLI to prepare for additional entrypoints 2020-04-28 15:39:54 +02:00
__main__.py osbuild: use osbuild_cli directly as main entry 2020-07-17 16:30:46 +01:00
api.py api: ability to auto-generate socket addresses 2020-07-27 12:50:38 +01:00
buildroot.py buildroot: bind mount individual API endpoints 2020-07-27 12:50:38 +01:00
loop.py loop: fix FD leak in mknod() 2020-04-21 13:02:29 +02:00
main_cli.py api: introduce pipeline monitoring 2020-07-21 13:25:04 +02:00
meta.py meta: also validate the schema for sources 2020-06-02 09:50:14 +02:00
monitor.py api: introduce pipeline monitoring 2020-07-21 13:25:04 +02:00
objectstore.py objectstore: use types.PathLike 2020-07-27 12:50:38 +01:00
pipeline.py pipeline: use buildroot.regsiter_api 2020-07-27 12:50:38 +01:00
remoteloop.py api: each API defines its 'endpoint' name 2020-07-27 12:50:38 +01:00
sources.py api: each API defines its 'endpoint' name 2020-07-27 12:50:38 +01:00
treesum.py treesum: don't use dir_fd parameter in os.scandir() 2019-11-29 00:45:14 +01:00