pub fn resolve(
request: &Request<'_>,
env: &dyn Fn(&str) -> Option<String>,
fetch: &dyn Fetch,
progress: &mut dyn FnMut(&str),
) -> Result<Provisioned, ProvisionError>Expand description
Answers request from the caller’s binary, the cache, or the release, in that order.
env supplies $MICROVM_AGENTD and, when Request::state_dir is None, the
variables crate::names::state_root reads. fetch is the release seam;
progress receives one line per step.