File size: 934 Bytes
ea3ef49
 
 
 
 
5844be3
 
 
 
 
 
 
 
 
ea3ef49
93ccb02
 
 
 
 
 
 
 
ea3ef49
 
 
 
 
 
5844be3
 
 
ea3ef49
93ccb02
 
 
 
 
 
ea3ef49
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"""
Runtime Environment Module for ALLI-script.
Provides local process and Docker-isolated execution engines with resource caps.
"""

from .runner import (
    RuntimeRunner,
    ExecutionResult,
    LocalSubprocessRunner,
    DockerSandboxRunner,
    AirGappedDockerRunner,
    kill_process_tree,
    get_sanitized_env,
)
from .k8s_manager import K8sJobManager
from .active_runs import (
    GLOBAL_ACTIVE_RUNS,
    ActiveRunsRegistry,
    ActiveWorkflowRun,
    safe_serialize_to_json,
    measure_output_port_quota,
    MAX_OUTPUT_QUOTA_BYTES,
)

__all__ = [
    "RuntimeRunner",
    "ExecutionResult",
    "LocalSubprocessRunner",
    "DockerSandboxRunner",
    "AirGappedDockerRunner",
    "kill_process_tree",
    "get_sanitized_env",
    "K8sJobManager",
    "GLOBAL_ACTIVE_RUNS",
    "ActiveRunsRegistry",
    "ActiveWorkflowRun",
    "safe_serialize_to_json",
    "measure_output_port_quota",
    "MAX_OUTPUT_QUOTA_BYTES",
]