代码拉取完成,页面将自动刷新
provider:
name: openfaas
gateway: http://127.0.0.1:8080 # can be a remote server
functions:
# Pass a username as an argument to find how many images user has pushed to Docker Hub.
hubstats:
lang: dockerfile
image: functions/hubstats:latest
skip_build: true
# Node.js gives OS info about the node (Host)
nodeinfo:
lang: dockerfile
image: functions/nodeinfo:latest
skip_build: true
# Uses `cat` to echo back response, fastest function to execute.
echoit:
lang: dockerfile
image: functions/alpine:latest
fprocess: "cat"
skip_build: true
# Counts words in request with `wc` utility
wordcount:
lang: dockerfile
image: functions/alpine:latest
fprocess: "wc"
skip_build: true
# Calculates base64 representation of request body.
base64:
lang: dockerfile
image: functions/alpine:latest
fprocess: "base64"
skip_build: true
# Converts body in (markdown format) -> (html)
markdown:
lang: dockerfile
image: functions/markdown-render:latest
skip_build: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。