diff --git a/src/packetserver/runner/__init__.py b/src/packetserver/runner/__init__.py new file mode 100644 index 0000000..3ed3a57 --- /dev/null +++ b/src/packetserver/runner/__init__.py @@ -0,0 +1,7 @@ +"""Package runs arbitrary commands/jobs via different mechanisms.""" +from typing import Union,Optional,Iterable,Self + +class Runner: + """Abstract class to take arguments and run a job and track the status and results.""" + def __init__(self, args: Iterable[str], ): + pass diff --git a/src/packetserver/runner/podman.py b/src/packetserver/runner/podman.py new file mode 100644 index 0000000..c4f7b40 --- /dev/null +++ b/src/packetserver/runner/podman.py @@ -0,0 +1 @@ +"""Uses podman to run jobs in containers."