mirror of https://github.com/knative/func.git
This commit removes the Red Hat builders from the built in templates for Go, TypeScript and Node.js, replacing them with paketo builders. For Go, the builder is augmented with a simple buildpack that installs the Go wrapper code and its dependencies. For TypeScript, the paketo buildpacks oddly don't support an `npm build` step, so these templates are also dependent on a small Boson buildpack. These buildpacks are currently at https://github.com/lance/boson-buildpacks but should find a home either in the boson-project organization, or the knative-sandbox organization. This change also slightly modifies how the Node.js and TypeScript templates are structured, reducing the coupling between the buildpack and a function project. This commit includes the code in https://github.com/knative-sandbox/kn-plugin-func/pull/465 and is dependent on it in the use of manifest.yaml. Provide sane defaults for health endpoints Note that this will need to be documented as a requirement for language packs that do not wish to provide explicit endpoints for these kube health checks. In that case, the language pack should specify these both as the root path, with a query parameter. For example, `/?health=readiness` and `/?health=liveness`, or some other similar construct. Signed-off-by: Lance Ball <lball@redhat.com> |
||
---|---|---|
.chglog | ||
.github/workflows | ||
buildpacks | ||
cloudevents | ||
cmd | ||
docker | ||
docs | ||
hack | ||
k8s | ||
knative | ||
mock | ||
plugin | ||
progress | ||
schema | ||
templates | ||
test | ||
testdata | ||
utils | ||
.gitignore | ||
.golangci.yaml | ||
AUTHORS | ||
CHANGELOG.md | ||
LICENSE | ||
Makefile | ||
OWNERS | ||
README.md | ||
client.go | ||
client_int_test.go | ||
client_test.go | ||
config.go | ||
config_test.go | ||
function.go | ||
function_test.go | ||
go.mod | ||
go.sum | ||
pkged.go | ||
repositories.go | ||
repositories_test.go | ||
templates.go | ||
templates_test.go | ||
version.txt |
README.md
Func
func
is a Client Library and CLI enabling the development and deployment of Functions.
Contributing
We are always looking for contributions from the Function Developer community. For more information on how to participate, see the Development Guide
The func
Task Force meets @ 10:30 PST every Tuesday, we'd love to have you! For more information, see the invitation on the Knative Team Calendar.