pub async fn spawn_admin(
meshes: impl IntoIterator<Item = impl AsRef<HostMeshRef>>,
cx: &impl Actor,
admin_addr: Option<SocketAddr>,
telemetry_url: Option<String>,
) -> Result<ActorRef<MeshAdminAgent>>Expand description
Spawn a MeshAdminAgent that aggregates hosts from multiple
meshes.
The admin agent runs on the caller’s local proc — the Proc of
the actor context cx. Hosts are deduplicated by actor ID across
all meshes.
Spawn a MeshAdminAgent aggregating topology across one or more
meshes. Returns a typed ActorRef<MeshAdminAgent>. Callers that
need the admin URL query it via get_admin_addr.
See the mesh_admin module doc for the SA-* (spawn/aggregation),
CH-* (client host), and AI-* (admin identity) invariants.