Logo
Explore Help
Sign In
studio/cli
2
0
Fork 0
You've already forked cli
Code Issues Pull Requests Actions Packages Releases 4 Wiki Activity
Files
42c2a74928bec9de8dae0fe99d885a4705f392c9
cli/src/checks.rs

6 lines
156 B
Rust
Raw Normal View History

feat: Rust rewrite scaffolding with embedded kustomize+helm Phase 0 of Python-to-Rust CLI rewrite: - Cargo.toml with all dependencies (kube-rs, reqwest, russh, rcgen, lettre, etc.) - build.rs: downloads kustomize v5.8.1 + helm v4.1.0 at compile time, embeds as bytes, sets SUNBEAM_COMMIT from git - src/main.rs: tokio main with anyhow error formatting - src/cli.rs: full clap derive struct tree matching all Python argparse subcommands - src/config.rs: SunbeamConfig serde struct, load/save ~/.sunbeam.json - src/output.rs: step/ok/warn/table with exact Python format strings - src/tools.rs: embedded kustomize+helm extraction to cache dir - src/kube.rs: parse_target, domain_replace, context management - src/manifests.rs: filter_by_namespace with full test coverage - Stub modules for all remaining features (cluster, secrets, images, services, checks, gitea, users, update) 23 tests pass, cargo check clean.
2026-03-20 12:24:21 +00:00
use anyhow::Result;
pub async fn cmd_check(_target: Option<&str>) -> Result<()> {
todo!("cmd_check: concurrent health checks via reqwest + kube-rs")
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 46ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API