Skip to main content

Module cluster

Module cluster 

Source
Expand description

Cluster membership and node fabric.

Defines types for multi-node WeftOS clusters where agents can migrate between nodes. Each node is a WeftOS kernel instance – native binary on cloud/edge, or WASM in a browser.

§Feature Gate

All types compile unconditionally. Actual peer discovery, health monitoring, and cross-node communication require the cluster feature flag and a distributed networking layer.

Structs§

ClusterConfig
Cluster configuration.
ClusterMembership
ClusterService
Native coordinator cluster service.
NodeEccCapability
ECC capabilities advertised by a cluster node.
NodeIdentity
Node identity derived from Ed25519 keypair.
PeerNode
Information about a peer node in the cluster.

Enums§

ClusterError
Cluster membership errors.
NodePlatform
Node platform type.
NodeState
Node health state.

Type Aliases§

NodeId
Unique node identifier (UUID or DID string).