Skip to content

qfaas-project/function-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Function Template

Function templates and the synthetic function examples

Prerequisites

  • The way of using faas-cli to build a OpenFaaS function image
  • In short, a functiom image is a combination of: request handler + language runtime + function code. In OpenFaaS
    • request handler is the of-watchdog (qfaas of-watchdog)
    • language runtime is the function template (this repo)

Example

Here is an example to build a qfaas python function image

Please check the Dockerfile in each template to get more information

cd single-function/python
faas-cli build -f fun-py-flask-qfaas.yml
# > faas-cli deploy -f fun-py-flask-qfaas.yml # change the gateway IP:Port in yml file first
# or > faas-cli deploy -g IP:Port -f fun-py-flask-qfaas.yml

More templates comming soon...

About

Function templates and the synthetic function examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors