dinkster-supervisor 0.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dinkster_supervisor/__init__.py +61 -0
- dinkster_supervisor/environment.py +812 -0
- dinkster_supervisor/environment_archives.py +276 -0
- dinkster_supervisor/environment_artifacts.py +420 -0
- dinkster_supervisor/environment_channels.py +113 -0
- dinkster_supervisor/environment_collection.py +336 -0
- dinkster_supervisor/environment_constraints.py +116 -0
- dinkster_supervisor/environment_downloads.py +261 -0
- dinkster_supervisor/environment_generations.py +493 -0
- dinkster_supervisor/environment_move.py +455 -0
- dinkster_supervisor/environment_process.py +73 -0
- dinkster_supervisor/environment_runtime.py +489 -0
- dinkster_supervisor/environment_state.py +590 -0
- dinkster_supervisor/environment_stores.py +144 -0
- dinkster_supervisor/environment_transactions.py +227 -0
- dinkster_supervisor/ingress.py +687 -0
- dinkster_supervisor/install_manager.py +252 -0
- dinkster_supervisor/installs.py +281 -0
- dinkster_supervisor/leases.py +141 -0
- dinkster_supervisor/limits.py +18 -0
- dinkster_supervisor/station.py +373 -0
- dinkster_supervisor/supervisor.py +708 -0
- dinkster_supervisor-0.0.2.dist-info/METADATA +9 -0
- dinkster_supervisor-0.0.2.dist-info/RECORD +26 -0
- dinkster_supervisor-0.0.2.dist-info/WHEEL +4 -0
- dinkster_supervisor-0.0.2.dist-info/entry_points.txt +5 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"""dinkster-supervisor: layer-0 process that owns the public port, spawns an
|
|
2
|
+
engine host behind it, and proxies once the engine is healthy. The
|
|
3
|
+
station (multi-install management) composes the same machinery: one
|
|
4
|
+
supervised engine port per configured install plus a management port."""
|
|
5
|
+
|
|
6
|
+
from .ingress import IngressMember, create_ingress_app
|
|
7
|
+
from .installs import (
|
|
8
|
+
IngressDef,
|
|
9
|
+
InstallDef,
|
|
10
|
+
InstallsError,
|
|
11
|
+
StationConfig,
|
|
12
|
+
dump_installs,
|
|
13
|
+
dump_station_config,
|
|
14
|
+
load_installs,
|
|
15
|
+
load_station_config,
|
|
16
|
+
parse_installs,
|
|
17
|
+
parse_station_config,
|
|
18
|
+
)
|
|
19
|
+
from .leases import LeaseConflictError, LeaseStore, LeaseStoreError
|
|
20
|
+
from .station import (
|
|
21
|
+
ManagedInstall,
|
|
22
|
+
Station,
|
|
23
|
+
create_station_app,
|
|
24
|
+
engine_command,
|
|
25
|
+
start_station,
|
|
26
|
+
)
|
|
27
|
+
from .supervisor import (
|
|
28
|
+
PROTOCOL_VERSION,
|
|
29
|
+
STATUS_PATH,
|
|
30
|
+
EngineLink,
|
|
31
|
+
EngineProcess,
|
|
32
|
+
create_supervisor_app,
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
__all__ = [
|
|
36
|
+
"PROTOCOL_VERSION",
|
|
37
|
+
"STATUS_PATH",
|
|
38
|
+
"EngineLink",
|
|
39
|
+
"EngineProcess",
|
|
40
|
+
"InstallDef",
|
|
41
|
+
"IngressDef",
|
|
42
|
+
"IngressMember",
|
|
43
|
+
"InstallsError",
|
|
44
|
+
"LeaseConflictError",
|
|
45
|
+
"LeaseStore",
|
|
46
|
+
"LeaseStoreError",
|
|
47
|
+
"ManagedInstall",
|
|
48
|
+
"Station",
|
|
49
|
+
"StationConfig",
|
|
50
|
+
"create_ingress_app",
|
|
51
|
+
"create_station_app",
|
|
52
|
+
"create_supervisor_app",
|
|
53
|
+
"dump_installs",
|
|
54
|
+
"dump_station_config",
|
|
55
|
+
"engine_command",
|
|
56
|
+
"load_installs",
|
|
57
|
+
"load_station_config",
|
|
58
|
+
"parse_installs",
|
|
59
|
+
"parse_station_config",
|
|
60
|
+
"start_station",
|
|
61
|
+
]
|