Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 737 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 737 Bytes

Serverless functions

Repository of serverless functions (Docker images).

Generic functions

  • hello-world: replies with the string "Hello, World!" (HTTP GET).
  • fib-fn: calculates the recursive Fibonacci number of the specified value.
  • payload-echo: replies with whatever string is sent to it.
  • payload-recv: receives whatever string is sent to it and replies with HTTP 200.
  • sleep-fn: sleeps for a time duration specified in milliseconds.

Here for OpenFaaS specific functions

Build

Update version tags in versions.txt

Run docker_build.sh -h to print help. Example:

foo@bar:~$./docker_build.sh --user fcarp10 --image fib-fn