Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

implement volume mounts, env, and args #4

Open
bacongobbler opened this issue Oct 6, 2020 · 0 comments
Open

implement volume mounts, env, and args #4

bacongobbler opened this issue Oct 6, 2020 · 0 comments

Comments

@bacongobbler
Copy link

The wasmtime provider allows volumes, environment variables, and function arguments to the main program. We have that available, but it's currently stubbed out/unused.

env: HashMap<String, String>,
/// the arguments passed as the command-line arguments list
args: Vec<String>,
/// a hash map of local file system paths to optional path names in the runtime
/// (e.g. /tmp/foo/myfile -> /app/config). If the optional value is not given,
/// the same path will be allowed in the runtime
dirs: HashMap<PathBuf, Option<PathBuf>>,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant