diff --git a/TestDrive.md b/TestDrive.md index 89ee5c62792644773165d6da4455c23a763aaf0c..0e4fd0b99d16335adcc15b2e17ba20c229a29df4 100644 --- a/TestDrive.md +++ b/TestDrive.md @@ -37,7 +37,13 @@ Some of the sample functions are: * Markdown to HTML renderer (markdownrender) - takes .MD input and produces HTML (Golang) * Docker Hub Stats function (hubstats) - queries the count of images for a user on the Docker Hub (Golang) * Node Info (nodeinfo) function - gives you the OS architecture and detailled info about the CPUS (Node.js) -* Webhook stasher function (webhookstash) - saves webhook body into container's filesystem (Golang) +* Webhook stasher function (webhookstash) - saves webhook body into container's filesystem - even binaries (Golang) + +New functions: + +* Hello world in - [Java/.NET core/Python/Node/Go and more](https://github.com/alexellis/faas/tree/master/sample-functions/BaseFunctions) +* [Resize images with Image Magick](https://github.com/alexellis/faas/tree/master/sample-functions/ResizeImageMagick) +* [Function protected by API key in HTTP Header](https://github.com/alexellis/faas/tree/master/sample-functions/ApiKeyProtected) ### Invoke the sample functions with curl or Postman: @@ -86,6 +92,10 @@ The original blog post also walks through creating a function: ## Add new functions to FaaS at runtime +* Experimental options + +[FaaS CLI as documented here](https://github.com/alexellis/faas/tree/master/sample-functions/ResizeImageMagick) + **Option 1: Through docker-compose.yml stack file** Edit the docker-compose stack file, then run ./deploy_stack.sh - this will only update changed/added services, not existing ones.