Modules§
- shutdown
- Shutdown signal handling utilities
Structs§
- Client
Registration - A type-erased client registration for injecting clients into the
ClientHub. - Dependency
Checker - Sticky, dynamic dependency-resolution tracker shared across serving modes
(in-process host and
OoP). - Endpoint
- Represents an endpoint where a gear instance can be reached
- Gear
Installers - Installers for a specific gear (gear name + service installers).
- Gear
Instance - Represents a single instance of a gear
- Gear
Manager - Central registry that tracks all running gear instances in the system. Provides discovery, health tracking, and round-robin load balancing.
- Grpc
Installer Data - Grouped installers for all gears in the process.
- Grpc
Installer Store - Runtime-owned store for gRPC service installers.
- Host
Runtime - OopGear
Spawn Config - Configuration for a single
OoPgear to be spawned. - OopServe
Options - Configuration and collaborators for the
OoPHTTP runtime, assembled by the bootstrap layer and consumed byHostRuntime’sOoPserving path. - OopSpawn
Options - Options for spawning
OoPgears. - Readiness
Healthcheck - Bridges a
DependencyCheckerinto theRestHealthcheckRegistryas a single leaf check, for the in-process (api-gateway-hosted)/readyzpath where readiness is one check among many in a shared registry. - Readiness
Report - The aggregate readiness report rendered as the
/readyzresponse body. - Readiness
State - Shared, framework-owned readiness state for an
OoPgear instance. - RunOptions
- Options for running the
ToolKitrunner. - System
Context - System-level context provided to system gears during the wiring phase.
Enums§
- DbOptions
- How the runtime should provide DBs to gears.
- Instance
State - Readiness
Lifecycle - Lifecycle state reported on
/readyz(cpt-cf-adr-eventual-readiness). - Shutdown
Options - How the runtime should decide when to stop.
Constants§
- DEFAULT_
HEALTHCHECK_ TIMEOUT - Default per-check timeout for readiness healthchecks.
- DEFAULT_
SHUTDOWN_ DEADLINE - Default shutdown deadline for graceful gear stop (35 seconds).
- TOOLKIT_
DIRECTORY_ ENDPOINT_ ENV - Environment variable name for passing directory endpoint to
OoPgears. - TOOLKIT_
MODULE_ CONFIG_ ENV - Environment variable name for passing rendered gear config to
OoPgears.
Functions§
- run
- Run the full gear lifecycle.
- run_
oop_ serving - Run an out-of-process gear and serve its HTTP routes.