Skip to content
Snippets Groups Projects
Commit b7af1de5 authored by Alex Ellis's avatar Alex Ellis Committed by GitHub
Browse files

Update test drive

parent cc005afd
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment