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

implement volume mounts, env, and args #4

Open
@bacongobbler

Description

@bacongobbler

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>>,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions