OpenFunction Functions Framework is designed to provide users of FaaS with a suite of tools to convert user code into application code that supports multiple runtimes.
- Go: functions-framework-go
- Nodejs: functions-framework-nodejs
- Knative
- OpenFuncAsync
-
HTTP
The framework creates a route that associates the "/" url path and the user function. After that, it starts the HTTP service according to the PORT parameter.
-
CloudEvent
The CloudEvent provides a handler for handling HTTP requests while binding user function. The framework creates a route that associates the "/" url path and the CloudEvent HTTP handler. After that, it starts the HTTP service according to the PORT parameter.
-
OpenFunction
This function type is an implementation of Data Bindings
The framework creates a route that associates the specified HTTP url path with the user function.
The framework also provides the SDK for getting data and sending data. Users can use
OpenFunctionContext
to handle function resource contexts, including performing "get data" and "send data".For detailed Function Context specs visit OpenFunction Context Specs.
You can get help on developing OpenFunction Functions Framework by visiting CONTRIBUTING .