Knative Functions client API and CLI
Go to file
Lance Ball d7cfe6ead7
feat: add telemetry to Node.js and TypeScript function templates (#719)
* feat: add telemetry to Node.js and TypeScript function templates

This commit pulls in the latest version of faas-js-runtime which supports
metrics exposed at /metrics. Also, concidentally, adds CloudEvent batch
support, so Node.js and TypeScript functions may be invoked with a set of
more than one event simultaneously.

Fixes: https://github.com/knative-sandbox/kn-plugin-func/issues/710

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: regenerate and commit pkged.go

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: remove stray go.sum and update pkged.go file

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: try to make knative code style happy

Signed-off-by: Lance Ball <lball@redhat.com>

* Revert "fixup: try to make knative code style happy"

This reverts commit 91d625be7b.

* fixup: update package-lock.json files

Signed-off-by: Lance Ball <lball@redhat.com>
2021-12-15 03:00:29 -08:00
.chglog Change github.com links to the new home (#424) 2021-07-26 10:30:15 -07:00
.github/workflows chore: remove release-please from ci (#689) 2021-12-01 02:36:57 -08:00
buildpacks chore: remove dead code (#561) 2021-11-23 11:29:50 -08:00
cloudevents src: revert golobal dialer (#716) 2021-12-10 08:12:29 -08:00
cmd feat: allow build to be triggered from run when fn.Image is missing (#644) 2021-12-13 09:25:22 -08:00
docker feat: allow build to be triggered from run when fn.Image is missing (#644) 2021-12-13 09:25:22 -08:00
docs fix: move integration port to unregistered range (#701) 2021-12-07 15:05:38 -08:00
hack fix: revert hostname alias (#712) 2021-12-08 18:38:34 -08:00
http feat: custom default HTTP transport (#711) 2021-12-10 02:31:29 -08:00
k8s feat: custom default HTTP transport (#711) 2021-12-10 02:31:29 -08:00
knative Revert "feat: add POD_NAME as an environment variable (#660)" (#661) 2021-11-15 13:03:55 -08:00
mock feat: add support for manifest.yaml at repo/language/template levels (#558) 2021-10-27 07:09:01 -07:00
plugin Fix plugin version retrieval (#564) 2021-10-07 06:42:28 -07:00
progress fix: control chars on progress listener for Windows OS (#498) 2021-08-31 11:01:55 -07:00
schema feat: function version migrations (#664) 2021-11-24 04:50:27 -08:00
ssh Docker SSH test (#659) 2021-11-14 17:18:54 -08:00
templates feat: add telemetry to Node.js and TypeScript function templates (#719) 2021-12-15 03:00:29 -08:00
test fix: revert hostname alias (#712) 2021-12-08 18:38:34 -08:00
testdata fix: move integration port to unregistered range (#701) 2021-12-07 15:05:38 -08:00
testing feat: function version migrations (#664) 2021-11-24 04:50:27 -08:00
third_party/VENDOR-LICENSE feat: In cluster dialer to proxy TCP connections to unexposed services (#688) 2021-12-06 13:50:56 -08:00
utils fix: ConfigMap/Secret key validation (#623) 2021-11-03 10:20:48 -07:00
vendor src: CheckAuth() calls registry directly (#704) 2021-12-07 07:53:58 -08:00
.codecov.yaml feat: automatically start podman service (#648) 2021-11-11 09:38:38 -08:00
.gitattributes feat: add support for manifest.yaml at repo/language/template levels (#558) 2021-10-27 07:09:01 -07:00
.gitignore feat!: rename event templates to 'cloudevents' (#584) 2021-10-13 14:19:42 -07:00
.golangci.yaml Revert linting action to the canonical version (#533) 2021-09-16 02:46:39 -07:00
AUTHORS chore: add AUTHORS and OWNERS files (#413) 2021-07-07 10:35:33 -04:00
CHANGELOG.md chore: release 0.19.0 (#624) 2021-11-03 19:49:14 +01:00
LICENSE Apache 2.0 License 2020-07-09 12:22:59 +00:00
Makefile feat: add telemetry to Node.js and TypeScript function templates (#719) 2021-12-15 03:00:29 -08:00
OWNERS Update OWNERS (#489) 2021-08-23 08:12:35 -07:00
OWNERS_ALIASES Update community files (#714) 2021-12-14 10:34:51 -08:00
README.md add meeting time (#491) 2021-08-23 08:11:35 -07:00
client.go refactor: config path accessors with instantiation cleanup (#686) 2021-12-06 06:03:28 -08:00
client_int_test.go fix: revert hostname alias (#712) 2021-12-08 18:38:34 -08:00
client_test.go feat: ensure config and repos path exists (#683) 2021-11-29 13:53:08 -08:00
config.go src: direct serialization of Function metadata as func.yaml (#641) 2021-11-17 06:18:35 -08:00
config_test.go src: direct serialization of Function metadata as func.yaml (#641) 2021-11-17 06:18:35 -08:00
filesystem.go feat: add support for manifest.yaml at repo/language/template levels (#558) 2021-10-27 07:09:01 -07:00
function.go feat: function version migrations (#664) 2021-11-24 04:50:27 -08:00
function_envs.go src: direct serialization of Function metadata as func.yaml (#641) 2021-11-17 06:18:35 -08:00
function_envs_unit_test.go src: direct serialization of Function metadata as func.yaml (#641) 2021-11-17 06:18:35 -08:00
function_labels.go src: direct serialization of Function metadata as func.yaml (#641) 2021-11-17 06:18:35 -08:00
function_labels_unit_test.go src: direct serialization of Function metadata as func.yaml (#641) 2021-11-17 06:18:35 -08:00
function_migrations.go feat: function version migrations (#664) 2021-11-24 04:50:27 -08:00
function_migrations_unit_test.go Clean up tests: (#679) 2021-11-28 21:29:03 -08:00
function_options.go src: direct serialization of Function metadata as func.yaml (#641) 2021-11-17 06:18:35 -08:00
function_options_unit_test.go src: direct serialization of Function metadata as func.yaml (#641) 2021-11-17 06:18:35 -08:00
function_test.go Clean up tests: (#679) 2021-11-28 21:29:03 -08:00
function_unit_test.go fix: move integration port to unregistered range (#701) 2021-12-07 15:05:38 -08:00
function_volumes.go src: direct serialization of Function metadata as func.yaml (#641) 2021-11-17 06:18:35 -08:00
function_volumes_unit_test.go Clean up tests: (#679) 2021-11-28 21:29:03 -08:00
go.mod src: CheckAuth() calls registry directly (#704) 2021-12-07 07:53:58 -08:00
go.sum feat: In cluster dialer to proxy TCP connections to unexposed services (#688) 2021-12-06 13:50:56 -08:00
pkged.go feat: add telemetry to Node.js and TypeScript function templates (#719) 2021-12-15 03:00:29 -08:00
repositories.go refactor: config path accessors with instantiation cleanup (#686) 2021-12-06 06:03:28 -08:00
repositories_test.go Clean up tests: (#679) 2021-11-28 21:29:03 -08:00
repository.go feat: function version migrations (#664) 2021-11-24 04:50:27 -08:00
repository_test.go Clean up tests: (#679) 2021-11-28 21:29:03 -08:00
sortedset.go feat: add support for manifest.yaml at repo/language/template levels (#558) 2021-10-27 07:09:01 -07:00
template.go Initial support for buildEnvs in manifest.yaml (#646) 2021-11-15 05:35:55 -08:00
templates.go fix: remove template manifest from final Function (#703) 2021-12-06 10:30:27 -08:00
templates_test.go fix: remove template manifest from final Function (#703) 2021-12-06 10:30:27 -08:00
version.txt chore: release 0.19.0 (#624) 2021-11-03 19:49:14 +01: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.