edjx function attributes init

Creates the function configuration file, edjconfig.yaml.

Usage

edjx function attributes init

Create a Rust function configuration file

  1. Select the application to associate with the function.

    edjx config application -i
  2. 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

  1. Select the application to associate with the function.

    edjx config application -i
  2. 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 EDJX Platform to build and deploy functions.