API Reference libcluster_mesh v#0.1.0

Copy Markdown View Source

Modules

libcluster strategy that discovers peers by polling the local LOLIPOP Zero Trust Link (ZTL) daemon via ztlctl status.

libcluster strategy that discovers peers by polling the local NetBird daemon via netbird status --json.

libcluster strategy that discovers peers by polling the local Tailscale daemon via tailscale status --json.

libcluster strategy for plain WireGuard meshes, polling wg show <interface> dump.

libcluster strategies for mesh VPNs that discover peers by polling the local mesh daemon.

Minimal IPv4 CIDR matching, for selecting cluster members on meshes that have no hostnames (e.g. plain WireGuard).

Validated configuration shared by all mesh strategies.

Parses netbird status --json output into LibclusterMesh.Peer structs.

Field-level parsing shared by the mesh status parsers.

A peer on the mesh network, as reported by the local mesh daemon.

Shared GenServer poll loop for mesh strategies.

Behaviour for running an external command and capturing its output.

Default LibclusterMesh.Runner, running the mesh CLI through a port.

Parses tailscale status --json output into LibclusterMesh.Peer structs.

Parses wg show <interface> dump output into LibclusterMesh.Peer structs.

Parses ztlctl status output (YAML) into LibclusterMesh.Peer structs.