helm-rs 0.1.0

Typed Rust API for Helm 4: swappable backends, native chart, values and release reading
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::fs;

mod create;
mod lint;
mod package;
mod template;

/// A capture of the real helm 4.3.0 (see `tests/fixtures/commands/chart/README.md`).
fn capture(name: &str) -> String {
    let path = format!(
        "{}/tests/fixtures/commands/chart/captures/{name}",
        env!("CARGO_MANIFEST_DIR")
    );

    fs::read_to_string(path).expect("capture")
}