Skip to main content

backup_restore_runtime_context

Function backup_restore_runtime_context 

Source
fn backup_restore_runtime_context(
    app_id: &str,
    app_dir: Option<&str>,
    build_dir: Option<&str>,
    conf: Option<&str>,
    state_dir: Option<&str>,
    state_path: Option<&str>,
) -> Result<(ServeConfig, AppRuntime), AgentErrorKind>
Expand description

Builds the same app runtime context used by native backup and restore entrypoints.