runtime

Thread-safe web lifecycle control, independent of application services.

class bedrock_server_manager.web.runtime.RuntimeStatus(*, instance_id: str, pid: int, phase: LifecyclePhase, shutdown_requested: bool, shutdown_reason: Literal['administrator', 'local_cli', 'service', 'signal'] | None = None)
model_config = {'extra': 'forbid'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.web.runtime.ShutdownRequest
model_config = {'extra': 'forbid'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.web.runtime.ShutdownResponse(*, instance_id: str, pid: int, phase: LifecyclePhase, shutdown_requested: bool, shutdown_reason: Literal['administrator', 'local_cli', 'service', 'signal'] | None = None, status: Literal['accepted'] = 'accepted')
model_config = {'extra': 'forbid'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.web.runtime.WebRunOptions(*, host: Annotated[str | None, MinLen(min_length=1)] = None, port: Annotated[int | None, Ge(ge=1), Le(le=65535)] = None, debug: bool = False, instance_id: str | None = None)
model_config = {'extra': 'forbid'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].