⚠️ Following builder release0.4.3
, this project is deprecated and will no longer be officially maintained by VMware. Users should not use this project, builder, buildpacks, invokers, or application accelerator counterparts anymore.
If you are looking to migrate your functions project outside the set of buildpack we offer in this repository please follow the Migration Guide
⚡ Build and deploy your HTTP + CloudEvents functions fast -- a FaaS experience leveraging buildpacks.
Function Buildpacks for Knative (aka "Functions") brings functions as a programming model, to allow you to quickly build and deploy independent units of logic. Easily handle tasks such as asynchronous event reactions, cloud provider automations, and more. Soon, func support will allow users to deploy Functions via CLI in a matter of seconds.
Language | HTTP | CloudEvents |
---|---|---|
Python | Supported | Supported |
Java | Supported | Supported |
NodeJS | Accelerator | Accelerator |
.NET | Dropped | Dropped |
You can either build the builder manually or use our convenient pre-built in the example below. To build an image from source, simply use the builder as shown below.
For example:
pack build <image_name> --path /path/to/function --builder ghcr.io/vmware-tanzu/function-buildpacks-for-knative/functions-builder:0.4.3 --env BP_FUNCTION=path.function
You can get started by working with any of our scaffolded code found in samples
or templates
in the root directory.
To learn about local deployment, setting flags, and testing via curl
, check out DEPLOYING.
The function-buildpacks-for-knative project team welcomes contributions from the community. Before you start working with function-buildpacks-for-knative, please read our Developer Certificate of Origin. All contributions to this repository must be signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on as an open-source patch. For more detailed information, refer to CONTRIBUTING.md.