Spice Functions YAML Specification
Spice Functions configuration and metadata is defined in YAML. To create a Spice Function, add a function.yaml
manifest file to a connected GitHub repository.
function.yaml
should be co-located with the function code in a subdirectory from the root of the repository.
YAML Schema Reference
output_dataset
The Dataset this function's output will populate.
runtime
The execution runtime for the function. Supported runtimes are:
Runtime | Description |
---|---|
| Python 3.11 |
| go1.x |
handler
The entry point file/module and code function/method that handles triggered executions.
Runtime | Format | Example |
---|---|---|
Python |
|
|
Go |
|
Specifies the trigger conditions of the function.
Example definition
Last updated