Constant enarx_config::CONFIG_TEMPLATE
source · [−]pub const CONFIG_TEMPLATE: &'static str = r#"## Configuration for a WASI application in an Enarx Keep
## Arguments
# args = [
# "--argument1",
# "--argument2=foo"
# ]
## Steward
# steward = "https://steward.example.com"
## Environment variables
# [env]
# VAR1 = "var1"
# VAR2 = "var2"
## Pre-opened file descriptors
[[files]]
kind = "stdin"
[[files]]
kind = "stdout"
[[files]]
kind = "stderr"
## A listen socket
# [[files]]
# name = "LISTEN"
# kind = "listen"
# prot = "tls" # or prot = "tcp"
# port = 12345
## An outgoing connected socket
# [[files]]
# name = "CONNECT"
# kind = "connect"
# prot = "tls" # or prot = "tcp"
# host = "127.0.0.1"
# port = 23456
"#;
Expand description
Configuration file template