MCPcopy Index your code
hub / github.com/OpenFunction/samples

github.com/OpenFunction/samples @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
143 symbols 276 edges 49 files 3 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

OpenFunction function samples

For samples of the latest stable version, please visit here:

-> v0.6.0 samples

Function samples

The following are samples of OpenFunction function.

We currently support two kinds of runtime, knative and async.

Knative runtime

Async runtime

  • Async bindings sample in go
  • Async pubsub sample in go
  • Logs handler function go
  • Java samples in java

Other samples

Application samples

Functions Framework samples

Katacode scenarios

Extension points exported contracts — how you extend this code

HealthCheckService (Interface)
(no doc) [2 implementers]
apps/buildah/java/src/main/java/dev/openfunction/samples/liberty/health/HealthCheckService.java

Core symbols most depended-on inside this repo

getEnvVar
called by 6
functions/async/pubsub/producer/producer.go
name
called by 4
functions/knative/java/src/main/java/dev/openfunction/samples/plugins/ExamplePlugin.java
version
called by 4
functions/knative/java/src/main/java/dev/openfunction/samples/plugins/ExamplePlugin.java
getEnvDurationOrFail
called by 3
functions/async/pubsub/producer/producer.go
execHook
called by 2
functions/knative/java/src/main/java/dev/openfunction/samples/plugins/ExamplePlugin.java
isJvmHealthy
called by 1
apps/buildah/java/src/main/java/dev/openfunction/samples/liberty/health/HealthCheckService.java
New
called by 1
functions/async/bindings/cron-input/plugins/plugin-custom/plugin-custom.go
Version
called by 1
functions/async/bindings/cron-input/plugins/plugin-custom/plugin-custom.go

Shape

Function 63
Method 61
Class 9
Struct 9
Interface 1

Languages

Go74%
Java16%
C#4%
TypeScript3%
Rust1%
Python1%

Modules by API surface

functions/async/pubsub/producer/producer.go10 symbols
functions/knative/with-output-binding/plugins/plugin-custom/plugin-custom.go8 symbols
functions/knative/java/src/main/java/dev/openfunction/samples/plugins/ExamplePlugin.java8 symbols
functions/async/bindings/cron-input/plugins/plugin-custom/plugin-custom.go8 symbols
functions/async/bindings/cron-input-kafka-output/plugins/plugin-custom/plugin-custom.go8 symbols
functions-framework/golang/Knative/http/userfunction/plugins/plugin-custom/plugin-custom.go8 symbols
functions-framework/golang/Knative/cloudevents/userfunction/plugins/plugin-custom/plugin-custom.go8 symbols
functions-framework/golang/Async/bindings/without-output/userfunction/plugins/plugin-custom/plugin-custom.go8 symbols
functions-framework/golang/Async/bindings/with-output/userfunction/plugins/plugin-custom/plugin-custom.go8 symbols
functions/knative/path-parameters-function-go/http.go4 symbols
functions/knative/multiple-functions-go/http.go3 symbols
functions/knative/hello-world-dotnet/Startup.cs3 symbols

For agents

$ claude mcp add samples \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact