Expand description
Generic control-plane contracts for distributed AppCore deployments.
The control plane stores presence, leases, and routing metadata. It must not transport business payloads or contain tenant-specific business rules.
Modules§
- v1
- Stable control-plane wire and provider contracts.
Structs§
- Bearer
Http Transport - HTTP transport that authenticates requests with a zeroizing bearer token.
- Cancellation
Token - Cloneable cooperative cancellation flag.
- Control
Plane Coordinator - Coordinates heartbeat results with the runtime operational mode.
- Control
Plane Http Config - Configuration for the generic HTTP control-plane client.
- Core
Presence - Presence record acknowledged by a control-plane provider.
- Core
Registration - Registration submitted by one running core.
- File
Control Plane - Durable control-plane implementation for one shared deployment directory.
- Heartbeat
Policy - Policy applied when a heartbeat cannot reach the control plane.
- Heartbeat
Request - Heartbeat submitted by one running core.
- Heartbeat
Response - Heartbeat acknowledgement.
- Http
Control Plane Client - Control-plane client that maps stable contracts onto an HTTP transport.
- Http
Control Plane Request - Transport request produced by
HttpControlPlaneClient. - Http
Control Plane Response - Bounded response returned by an
HttpTransport. - InMemory
Control Plane - Deterministic in-memory control plane for embedded hosts and tests.
- Offline
Control Plane Client - Client that explicitly reports the control plane as unavailable.
- Peer
Directory - Compatible peers discovered for a tenant and cluster.
- Peer
Record - Generic routing record for one distributed core.
- Retry
Policy - Retry limits and exponential backoff bounds for control-plane requests.
- Secret
String - Redacted bearer material that is zeroized when released.
- Service
Leader Lease - Leadership lease scoped to one independently coordinated service.
- Static
Service Leadership Guard - In-memory service lease guard for embedded hosts and tests.
- StdHttp
Transport - Shared bounded HTTP transport for unauthenticated deployment-local calls.
Enums§
- Control
Plane Error - Provider-independent control-plane failure.
- Leadership
Decision - Result of a leadership fencing check.
Traits§
- Control
Plane Provider - Provider contract for presence, discovery and leadership coordination.
- Discovery
Provider - Provider contract limited to compatible peer discovery.
- Http
Transport - Adapter contract used by the control-plane HTTP client.
- Service
Leadership Guard - Checks leadership for an independently coordinated service.
Functions§
- require_
secure_ remote_ endpoint - Rejects plain HTTP for non-loopback control-plane endpoints.
Type Aliases§
- Control
Plane Future - Sendable future returned by a control-plane provider.
- Control
Plane Result - Result returned by control-plane contracts.