Switch branches/tags
Find file History
alexellis Remove braces for Python sample
Suggested by community member in an un-merged PR.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
Latest commit f23d90d Jul 10, 2018
Permalink
..
Failed to load latest commit information.
AlpineFunction Update alpine version to 3.7 May 11, 2018
ApiKeyProtected-Secrets Update secret docs and sample-functions Jun 17, 2018
BaseFunctions Remove braces for Python sample Jul 10, 2018
CHelloWorld Update alpine version to 3.7 May 11, 2018
CaptainsIntent Update alpine version to 3.7 May 11, 2018
ChangeColorIntent Update alpine version to 3.7 May 11, 2018
DockerHubStats Update to golang 1.9.7 Jun 16, 2018
HostnameIntent Update alpine version to 3.7 May 11, 2018
MarkdownRender Update to golang 1.9.7 Jun 16, 2018
Nmap Add nmap sample Dec 30, 2017
NodeHelloEnv Remove un-needed shell files Dec 28, 2017
NodeInfo Update alpine version to 3.7 May 11, 2018
Phantomjs Update watchdog version to 0.8.0 May 11, 2018
ResizeImageMagick Update alpine version to 3.7 May 11, 2018
SentimentAnalysis Remove brace from Python sample Jul 10, 2018
WebhookStash Update to golang 1.9.7 Jun 16, 2018
WordCountFunction Config tweak for samples Mar 3, 2018
apikey-secret Update secret docs and sample-functions Jun 17, 2018
echo rename catservice Oct 8, 2017
figlet Update alpine version to 3.7 May 11, 2018
gif-maker Update alpine version to 3.7 May 11, 2018
pwgen Add pwgen and bump Alpine base image Apr 20, 2018
.gitignore Makefile for shell scripts Sep 13, 2017
README.md Remove Markdown binary Mar 5, 2018
apikey-secret.yml Convert apikeyprotected-secret to apikey-secret with proper Golang te… Mar 5, 2018
build_all.sh updated build script Mar 3, 2018
stack.yml Add pwgen and bump Alpine base image Apr 20, 2018

README.md

Hello World in different languages:

For examples of hello-world in different programming languages see inside the BaseFunctions folder:

Demo functions from closing keynote @ Dockercon

Sample functions from the FaaS stack

Also see the community page for functions created by FaaS users and contributors.

Here is a list of some of the sample functions included this repository.

Name Details
AlpineFunction BusyBox - a useful base image with busybox utilities pre-installed
apikey-secret Example in Golang showing how to read a secret from a HTTP header and validate with a Swarm/Kubernetes secret
CaptainsIntent Alexa skill - find the count of Docker Captains
ChangeColorIntent Alexa skill - change the colour of IoT-connected lights
CHelloWorld Use C to build a function
echo Uses cat from BusyBox to provide an echo function
DockerHubStats Golang function gives the count of repos a user has on the Docker hub
figlet Generate ascii logos through the use of a binary
git-maker Use gifsicle and ffmpeg packages from Alpine Linux to make gifs from video
HostnameIntent Prints the hostname of a container
MarkdownRender Use a Go function with vendoring to convert Markdown to HTML
Nmap The network scanning tool as a binary-based function
NodeInfo Node.js - gives CPU/network info on the current container
Phantomjs Use Phantomjs to scrape/automate web-pages
ResizeImageMagick Resizes an image using the imagemagick binary
SentimentAnalysis Perform sentiment analysis with the TextBlob library
WebhookStash Golang function provides way to capture webhooks - JSON/text/binary into the container filesystem
WordCountFunction BusyBox wc is exposed as a function / service through FaaS