drop the hive-side matrix code: sweep, hivectl matrix and the apiUrl option
This commit is contained in:
parent
a00bcb8c05
commit
6dbb18b6d4
1 changed files with 49 additions and 1007 deletions
|
|
@ -3,7 +3,7 @@
|
|||
//! A thin client for the `hive-c0re` daemon: it speaks the host admin
|
||||
//! socket protocol (`hive-host-sock`) and does NOT link the daemon crate.
|
||||
//! Container lifecycle (`agent <name> <spawn|kill|rebuild|restart|choom|…>`,
|
||||
//! `list-agents`, `stop` / `start`) and provisioning (`forge` / `matrix` /
|
||||
//! `list-agents`, `stop` / `start`) and provisioning (`forge` /
|
||||
//! `gateway`) all forward to the daemon, which owns the broker,
|
||||
//! the credentials, and the provisioning logic — a running daemon is
|
||||
//! required for those. A couple of verbs work off local host state
|
||||
|
|
@ -31,8 +31,6 @@ mod completions;
|
|||
mod quota;
|
||||
mod util;
|
||||
use completions::generate_completions;
|
||||
mod matrix;
|
||||
use matrix::run_matrix_cmd;
|
||||
mod open;
|
||||
use open::open_url;
|
||||
mod wg;
|
||||
|
|
@ -65,7 +63,6 @@ async fn main() -> Result<()> {
|
|||
verbose,
|
||||
} => forge_reconcile_config(&socket, &agent, from, verbose).await,
|
||||
},
|
||||
Cmd::Matrix { cmd } => run_matrix_cmd(&socket, cmd).await,
|
||||
Cmd::Agent { name, cmd } => run_agent(&socket, &name, cmd).await,
|
||||
Cmd::ListAgents { json } => agents_list(&socket, json).await,
|
||||
Cmd::QuotaEnable => quota::quota_enable(&socket).await,
|
||||
|
|
|
|||
Loading…
Reference in a new issue