An OpenFaaS of-watchdog function written for Deno.
faas template pull https://github.com/austinrivas/rust-warp-template
faas new <name> --lang rust-warp
faas up -f function.yml --gateway $GATEWAY_URL
This function includes an okteto.yml
function to facilitate remote dev and debugging.
To launch to remote debugger you must start the debug process in oketeto.
cd function
okteto up
✓ Development environment activated
✓ Files synchronized
Namespace: austinrivas
Name: rust-hello
Forward: 8080 -> 8080
9229 -> 9229
okteto> fwatchdog
When you are done debugging you should exit
the okteto shell and run okteto down
to restore the OpenFaaS function context.
This function is based on the OpenFaaS rust-warp-template.
This template provides a thin wrapper around the Rust Warp Server.
This repo also contains an Okteto Remote Development Configuration for use on the Okteto Platform.
A Test github action is included that will trigger on pull request. This action runs the rust tests.