The functions included in this directory are used by the examples and can serve as a template or starting point to help you write your functions.
DISCLAIMER: The functions are provided as examples. They are not fully optimized and tested and, thus, they are not meant to be used in production services. Use at your own risk.
To build a single function, e.g., the noop
:
- Make sure you built the EDGELESS executables following the instructions
- Run the following command from the root of the repository:
target/debug/edgeless_cli function build functions/noop/function.json
To build all the functions you can use this script:
scripts/functions_build.sh