swarm-controller: move the accounts concern into its own module
Refs #6897
This commit is contained in:
parent
237cdaffaa
commit
9b2ba275d8
1 changed files with 22 additions and 15 deletions
|
|
@ -23,6 +23,7 @@ use std::sync::{Arc, Mutex};
|
|||
|
||||
use anyhow::{Context, Result};
|
||||
|
||||
mod accounts;
|
||||
mod agent_archetype;
|
||||
mod agent_commands;
|
||||
mod agent_config_repo;
|
||||
|
|
@ -61,17 +62,11 @@ mod config_pr;
|
|||
mod egress_allow;
|
||||
mod egress_deny;
|
||||
mod forge;
|
||||
mod forge_account;
|
||||
mod forge_events;
|
||||
mod github_account;
|
||||
mod gitlab_account;
|
||||
mod held_deploys;
|
||||
mod inference;
|
||||
mod issue_report;
|
||||
mod jobq;
|
||||
mod link_egress;
|
||||
mod linked_accounts;
|
||||
mod matrix_account;
|
||||
mod message_stream;
|
||||
mod meta_build;
|
||||
mod meta_fanout;
|
||||
|
|
@ -101,8 +96,11 @@ mod vcs_metrics;
|
|||
mod wanted;
|
||||
mod webhook;
|
||||
|
||||
// The accounts and review modules keep their crate-root paths (`crate::matrix_account::…`).
|
||||
use accounts::{
|
||||
forge_account, github_account, gitlab_account, link_egress, linked_accounts, matrix_account,
|
||||
};
|
||||
use jobq::{Late, WorkerDeps, spawn_jobq_worker};
|
||||
// The review modules keep their crate-root paths (`crate::review_classifier::…`).
|
||||
use review::{notify_flows, notify_router_api, request_reviewer, review_classifier};
|
||||
use routes::AppState;
|
||||
use startup::{
|
||||
|
|
|
|||
Loading…
Reference in a new issue