Skip to main content

select_env

Function select_env 

Source
pub fn select_env(
    vars: impl IntoIterator<Item = (String, String)>,
    pass: &[String],
    explicit: &[(String, String)],
) -> Result<BTreeMap<String, String>>
Expand description

Environment forwarded to the journey. Scheduled tasks do not inherit the SSH environment, so it is explicit: every RIGHTKIT_* variable (except the opt-in and child markers), the variables named in pass (case-insensitive), then explicit pairs, which win.