Skip to main content

Module platform

Module platform 

Source

Structs§

LeadershipHandle
Handle returned by LeadershipService::start().
NoopLeadershipService
No-op leadership service. Correct for single-node deployments and tests that do not need real K8s.
NoopPlatformService
No-op platform service.
NoopReadinessGate
No-op readiness gate — all calls are no-ops, never blocks.
PlatformIdentity
Node identity in the platform environment. In Kubernetes: pod name, namespace, labels from Downward API. In local/test: hostname or user-supplied string.

Enums§

LeadershipEvent
Leadership state change events delivered asynchronously.
PlatformError
Platform errors.

Traits§

LeadershipService
Leadership abstraction.
PlatformService
Platform service abstraction.
ReadinessGate
Readiness gate — local override that forces readiness state regardless of HealthSource. Name reflects actual role: a gate on local health state, not a push to external system.