pub async fn images(conf: &Config, region: &Region) -> Result<BTreeMap<String, String>> {
    let mut output = BTreeMap::new();
    for mf in shipcat_filebacked::available(conf, region).await? {
        if let Some(i) = mf.image {
            output.insert(mf.base.name, i);
        }
    }
    println!("{}", serde_json::to_string_pretty(&output)?);
    Ok(output)
}
/// Find the hardcoded images of services in a region
///
/// Services without a hardcoded image will assume the shipcat.conf specific default
Find the hardcoded images of services in a region
Services without a hardcoded image will assume the shipcat.conf specific default
Find the hardcoded images of services in a region Services without a hardcoded image will assume the shipcat . conf specific default
pub async fn images(conf: &Config, region: &Region) -> Result<BTreeMap<String, String>> {
    let mut output = BTreeMap::new();
    for mf in shipcat_filebacked::available(conf, region).await? {
        if let Some(i) = mf.image {
            output.insert(mf.base.name, i);
        }
    }
    println!("{}", serde_json::to_string_pretty(&output)?);
    Ok(output)
}
pub async fn images ( conf : & Config , region : & Region ) -> Result < BTreeMap < String , String > > { let mut output = BTreeMap :: new ( ) ; for mf in shipcat_filebacked :: available ( conf , region ) . await ? { if let Some ( i ) = mf . image { output . insert ( mf . base . name , i ) ; } } println ! ( " " serde_json to_string_pretty ( output ) ) ; Ok ( output ) }
Find the hardcoded images of services in a region
Services without a hardcoded image will assume the shipcat.conf specific default
Find the hardcoded images of services in a region Services without a hardcoded image will assume the shipcat . conf specific default
conf
&Config
region
&Region
conf
&Config
region
&Region