pub async fn region_squad_requests(
    order: ResourceOrder,
    ub: bool,
    fmt: OutputFormat,
    conf: &Config,
    reg: &Region,
) -> Result<Vec<(String, ResourceTotals)>> {
    let mfs = calculate_manifest_requests(conf, reg).await?;
    let team_requests = fold_manifests_by_squad(mfs)?;
    let sorted = sort_and_print_team_resources(team_requests, "squad", order, fmt, ub)?;
    Ok(sorted)
}
/// Resource squad top for a single region
///
/// Same data as region_requests, but aggregated across squads
Resource squad top for a single region
Same data as region_requests, but aggregated across squads
Resource squad top for a single region Same data as region_requests but aggregated across squads
pub async fn region_squad_requests(
    order: ResourceOrder,
    ub: bool,
    fmt: OutputFormat,
    conf: &Config,
    reg: &Region,
) -> Result<Vec<(String, ResourceTotals)>> {
    let mfs = calculate_manifest_requests(conf, reg).await?;
    let team_requests = fold_manifests_by_squad(mfs)?;
    let sorted = sort_and_print_team_resources(team_requests, "squad", order, fmt, ub)?;
    Ok(sorted)
}
pub async fn region_squad_requests ( order : ResourceOrder , ub : bool , fmt : OutputFormat , conf : & Config , reg : & Region , ) -> Result < Vec < ( String , ResourceTotals ) > > { let mfs = calculate_manifest_requests ( conf , reg ) . await ? ; let team_requests = fold_manifests_by_squad ( mfs ) ? ; let sorted = sort_and_print_team_resources ( team_requests , " " , order , fmt , ub ) ? ; Ok ( sorted ) }
Resource squad top for a single region
Same data as region_requests, but aggregated across squads
Resource squad top for a single region Same data as region_requests but aggregated across squads
order
ResourceOrder
ub
bool
fmt
OutputFormat
conf
&Config
reg
&Region
order
ResourceOrder
ub
bool
fmt
OutputFormat
conf
&Config
reg
&Region