linuxkit-utils 0.1.0

an utility to compose linuxkit manifests
Documentation
1
2
3
4
5
6
7
8
9
10
11
use ::envsubst::Error as SubstError;
use std::collections::HashMap;

mod for_jsvalue;
mod for_option;
mod for_string;
mod for_vec;

pub trait EnvSubst: Sized {
    fn env_subst(&self, context: &HashMap<String, String>) -> Result<Self, SubstError>;
}