edjx function attributes init
Creates the function configuration file, edjconfig.yaml.
Create a Rust function configuration file
-
Select the application to associate with the function.
edjx config application -i
-
Follow the command prompts to set the function attributes.
edjx function attributes init
Sample Output
root@edjx:~ # edjx function attributes init Function Name: rust-function ✔ WASM ✔ Rust ✔ HTTP ✔ 30 ✔ 64 edjconfig.yaml successfully created
Create a C++ function configuration file
-
Select the application to associate with the function.
edjx config application -i
-
Follow the command prompts to set the function attributes.
edjx function attributes init
Sample Output
root@edjx:~ # edjx function attributes init Function Name: cpp-function ✔ WASM ✔ C++ ✔ HTTP ✔ 30 ✔ 64 edjconfig.yaml successfully created
This file is needed when using the EdjPlatform to build and deploy functions.