orxtra v0.13.0 /scheduler.src.orxtra.scheduler._services
On this page

Manages long-running service processes declared in a workflow: start_service spawns and polls health checks until ready, stop_service terminates, check_health probes liveness.

#scheduler.src.orxtra.scheduler._services

#scheduler.src.orxtra.scheduler._services

#ServiceInstance

ServiceInstance
FieldTypeDefault
configServiceConfig
process`asyncio.subprocess.ProcessNone`None
port`intNone`None

#start_service

python
async def start_service(config: ServiceConfig, work_dir: Path) -> ServiceInstance

#stop_service

python
async def stop_service(instance: ServiceInstance) -> None

#check_health

python
async def check_health(instance: ServiceInstance) -> bool
Search