Skip to main content

plan

Function plan 

Source
pub fn plan(
    config: &Config,
    env: &BTreeMap<String, String>,
) -> Result<Standalone, AppError>
Expand description

Reads the standalone setup from the configuration and the environment (env gives the data directory’s default, the host name and what tasks may inherit).

§Errors

AppError::BadArgument when there is no data directory to use, or the DAG interpreter isn’t defined.