Single-commit clean baseline after security scrub of niche-tells, project codenames, internal jargon, and contributor-email leaks. Contents: - 100 Rust crates (_primitives/_rust/) - 37 agent manifests (_manifests/) + generated specs (_generated/) - 67 user-invocable skills (skills/) - 33 hooks (hooks/) - Composition blocks (_blocks/) - Documentation (docs/, README.md) - TS adapter packages (_ts_packages/) - Assembler (_assembler/) - Roles (_roles/) - Templates (_templates/) - Forgejo CI (.forgejo/) Author: Denis Parfionovich <info@greendragon.info> License: see LICENSE.
20 lines
761 B
Rust
20 lines
761 B
Rust
//! kei-provision — unified VPS provisioner (Hetzner + Vultr, extensible).
|
|
//!
|
|
//! Supersedes `_primitives/provision-hetzner.sh` + `_primitives/provision-vultr.sh`.
|
|
//!
|
|
//! Layers:
|
|
//! `backend` — `Backend` trait + `CreateOpts` + `ServerInfo`.
|
|
//! `backends::hetzner` — adapts `hcloud server …` JSON output.
|
|
//! `backends::vultr` — adapts `vultr-cli instance …` JSON output.
|
|
//! `exec` — shared `std::process::Command` + env/cli checks.
|
|
//!
|
|
//! Tests inject a temp PATH containing a fake `hcloud` / `vultr-cli` that
|
|
//! emits canned JSON, so no cloud calls happen in CI.
|
|
|
|
pub mod b64;
|
|
pub mod backend;
|
|
pub mod backends;
|
|
pub mod exec;
|
|
|
|
pub use backend::{Backend, CreateOpts, ServerInfo};
|
|
pub use backends::resolve;
|