Knative Functions client API and CLI
Go to file
Lance Ball a4b15ad992
feat: move go, typescript and nodejs to paketo builders (#485)
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>
2021-08-24 08:46:24 -07:00
.chglog Change github.com links to the new home (#424) 2021-07-26 10:30:15 -07:00
.github/workflows feat: generate json schema for func.yaml (#460) 2021-08-09 03:28:11 -07:00
buildpacks feat: move go, typescript and nodejs to paketo builders (#485) 2021-08-24 08:46:24 -07:00
cloudevents feat: print emit response output if it's a cloudevent (#444) 2021-07-28 04:45:16 -07:00
cmd feat: move go, typescript and nodejs to paketo builders (#485) 2021-08-24 08:46:24 -07:00
docker Support nested image paths (#464) 2021-08-11 20:31:34 -07:00
docs feat: move go, typescript and nodejs to paketo builders (#485) 2021-08-24 08:46:24 -07:00
hack src: Makefile developer accessibility (#428) 2021-07-21 00:45:38 -07:00
k8s feat: `func config volumes` - interactive prompt (#391) 2021-06-17 09:21:07 +02:00
knative feat: move go, typescript and nodejs to paketo builders (#485) 2021-08-24 08:46:24 -07:00
mock Rename module to knative.dev/kn-plugin-func (#423) 2021-07-15 11:33:32 -07:00
plugin Rename module to knative.dev/kn-plugin-func (#423) 2021-07-15 11:33:32 -07:00
progress fix: use ascii chars in progress indicator on win (#459) 2021-08-05 08:46:52 -07:00
schema feat: move go, typescript and nodejs to paketo builders (#485) 2021-08-24 08:46:24 -07:00
templates feat: move go, typescript and nodejs to paketo builders (#485) 2021-08-24 08:46:24 -07:00
test feat: move go, typescript and nodejs to paketo builders (#485) 2021-08-24 08:46:24 -07:00
testdata Remote file modes unit test (#483) 2021-08-18 12:34:04 -07:00
utils feat!: use key&value for Labels (#472) 2021-08-11 10:12:00 -07:00
.gitignore chore: ignore IDE files (#476) 2021-08-15 21:41:54 -07:00
.golangci.yaml feat: golangci-lint allow enum shorthand, use config file 2020-08-31 17:10:08 +09:00
AUTHORS chore: add AUTHORS and OWNERS files (#413) 2021-07-07 10:35:33 -04:00
CHANGELOG.md chore: release 0.17.1 (#461) 2021-08-05 15:32:59 -04:00
LICENSE Apache 2.0 License 2020-07-09 12:22:59 +00:00
Makefile fix: better cleanup before pkger run (#479) 2021-08-15 21:28:54 -07:00
OWNERS Update OWNERS (#489) 2021-08-23 08:12:35 -07:00
README.md add meeting time (#491) 2021-08-23 08:11:35 -07:00
client.go feat: move go, typescript and nodejs to paketo builders (#485) 2021-08-24 08:46:24 -07:00
client_int_test.go src: add integration test for remote modes (#484) 2021-08-19 11:47:05 -07:00
client_test.go src: template tests use public api (#473) 2021-08-16 09:14:54 -07:00
config.go feat: move go, typescript and nodejs to paketo builders (#485) 2021-08-24 08:46:24 -07:00
config_test.go feat!: use key&value for Labels (#472) 2021-08-11 10:12:00 -07:00
function.go feat: move go, typescript and nodejs to paketo builders (#485) 2021-08-24 08:46:24 -07:00
function_test.go feat: integration tests target 2021-03-10 19:35:27 +09:00
go.mod test: `config` sub-command (#457) 2021-08-12 06:30:35 -07:00
go.sum test: `config` sub-command (#457) 2021-08-12 06:30:35 -07:00
pkged.go feat: move go, typescript and nodejs to paketo builders (#485) 2021-08-24 08:46:24 -07:00
repositories.go src: template tests use public api (#473) 2021-08-16 09:14:54 -07:00
repositories_test.go feat: repository management client api (#467) 2021-08-11 03:36:00 -07:00
templates.go src: add integration test for remote modes (#484) 2021-08-19 11:47:05 -07:00
templates_test.go Remote file modes unit test (#483) 2021-08-18 12:34:04 -07:00
version.txt chore: release 0.17.1 (#461) 2021-08-05 15:32:59 -04:00

README.md

Func

CI Status Client API Documentation Issues License Releases

func is a Client Library and CLI enabling the development and deployment of Functions.

Read the Documentation

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.