mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 16:56:47 +00:00
rename catservice
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
parent
b7fbdb9ba2
commit
9bd10a6649
@ -11,9 +11,11 @@ For examples of hello-world in different programming languages see inside the Ba
|
|||||||
|
|
||||||
## Sample functions from the FaaS stack
|
## Sample functions from the FaaS stack
|
||||||
|
|
||||||
|
* [FaaS-And_Furious Community functions](https://github.com/faas-and-furious) (new)
|
||||||
|
|
||||||
> Also see the [community page](https://github.com/openfaas/faas/blob/master/community.md) for functions created by FaaS users and contributors.
|
> Also see the [community page](https://github.com/openfaas/faas/blob/master/community.md) for functions created by FaaS users and contributors.
|
||||||
|
|
||||||
Here is a list of the sample functions included this repository.
|
Here is a list of some of the sample functions included this repository.
|
||||||
|
|
||||||
| Name | Details |
|
| Name | Details |
|
||||||
|------------------------|----------------------------------------- |
|
|------------------------|----------------------------------------- |
|
||||||
@ -21,7 +23,7 @@ Here is a list of the sample functions included this repository.
|
|||||||
| ApiKeyProtected | Example in Golang showing how to read X-Api-Key header |
|
| ApiKeyProtected | Example in Golang showing how to read X-Api-Key header |
|
||||||
| CaptainsIntent | Alexa skill - find the count of Docker Captains |
|
| CaptainsIntent | Alexa skill - find the count of Docker Captains |
|
||||||
| ChangeColorIntent | Alexa skill - change the colour of IoT-connected lights |
|
| ChangeColorIntent | Alexa skill - change the colour of IoT-connected lights |
|
||||||
| CatService | Uses `cat` from BusyBox to provide an echo service |
|
| 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 |
|
| DockerHubStats | Golang function gives the count of repos a user has on the Docker hub |
|
||||||
| HostnameIntent | Prints the hostname of a container |
|
| HostnameIntent | Prints the hostname of a container |
|
||||||
| NodeInfo | Node.js - gives CPU/network info on the current container |
|
| NodeInfo | Node.js - gives CPU/network info on the current container |
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
FROM alpine:latest
|
|
||||||
ENTRYPOINT []
|
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
|
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
|
||||||
|
|
||||||
ENV fprocess "/bin/cat"
|
|
||||||
|
|
||||||
EXPOSE 8080
|
|
||||||
CMD ["/usr/bin/fwatchdog"]
|
|
2
sample-functions/echo/Dockerfile
Normal file
2
sample-functions/echo/Dockerfile
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
FROM functions/alpine:latest
|
||||||
|
ENV fprocess "/bin/cat"
|
@ -18,10 +18,10 @@ functions:
|
|||||||
handler: ./CaptainsIntent
|
handler: ./CaptainsIntent
|
||||||
image: functions/captainsintent:latest
|
image: functions/captainsintent:latest
|
||||||
|
|
||||||
catservice:
|
echo:
|
||||||
lang: Dockerfile
|
lang: Dockerfile
|
||||||
handler: ./catservice
|
handler: ./echo
|
||||||
image: functions/catservice:latest
|
image: functions/faas-echo:latest
|
||||||
|
|
||||||
ChangeColorIntent:
|
ChangeColorIntent:
|
||||||
lang: Dockerfile
|
lang: Dockerfile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user