linuxkit-utils 0.1.0

an utility to compose linuxkit manifests
Documentation
1
2
3
4
5
6
7
8
9
10
use super::*;

impl<T> EnvSubst for Option<T>
where
    T: EnvSubst,
{
    fn env_subst(&self, context: &HashMap<String, String>) -> Result<Self, SubstError> {
        self.as_ref().map(|v| v.env_subst(context)).transpose()
    }
}