xbp 10.17.2

XBP is a zero-config build pack that can also interact with proxies, kafka, sockets, synthetic monitors.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::cli::commands;
use crate::cli::error::{CliResult, ErrorFactory};
use crate::commands::run_kubernetes;

#[cfg(feature = "kubernetes")]
pub async fn handle_kubernetes(cmd: commands::KubernetesCmd, debug: bool) -> CliResult<()> {
    run_kubernetes(cmd, debug).await.map_err(|e| {
        ErrorFactory::operation(
            "kubernetes",
            "run kubernetes command",
            e,
            Some("Use `xbp kubernetes -h` to verify subcommand syntax."),
        )
    })
}