add tester ui, and restructure folders

This commit is contained in:
2026-05-13 17:00:00 -03:00
parent 7c5aa14409
commit 6652cb26e6
17 changed files with 2656 additions and 1251 deletions

View File

@@ -1,3 +1,12 @@
#!/usr/bin/env bash
# Invoke a function from functions/ directly via `python invoke.py`.
# Usage:
# ctrl/invoke.sh # default: first function found
# ctrl/invoke.sh lambda_function # specific function
# ctrl/invoke.sh lambda_function '{"key":"val"}' # with event payload
#
# For the same invocation through the FastAPI tester (with cold/warm + memory
# metrics) use the Lambda Tester tab at http://eth.local.ar or POST to
# http://eth.local.ar/runner/invoke/<name>.
set -euo pipefail
kubectl --context kind-eth -n eth exec -i deploy/lambda -- python invoke.py "$@"