func-go

module
v0.21.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0

README

Go Func Runtime

This repository contains the function invocation and runtime framework for Knative Go functions.

Overview

Knative Go functions are a way to run Go code in a serverless environment. The functions are invoked by the Knative runtime, which provides the function with an event and a context. The function then processes the event and returns a result.

Getting started

Typically, this runtime is used in the context of a Knative Go function. You can create a new function using the Knative Go function template.

func create -l go --builder=host

This will create a new Go project that uses the Knative Go function invocation framework. You can then build and deploy the function using the Knative Functions CLI.

func deploy

More information

For more information about Knative Go functions, see the Knative Functions documentation.

Directories

Path Synopsis
Package ce implements a Functions CloudEvent middleware for use by scaffolding which exposes a function as a network service which handles Cloud Events.
Package ce implements a Functions CloudEvent middleware for use by scaffolding which exposes a function as a network service which handles Cloud Events.
cmd
fce
Package http implements a Functions HTTP middleware for use by scaffolding which exposes a function as a network service which handles http requests.
Package http implements a Functions HTTP middleware for use by scaffolding which exposes a function as a network service which handles http requests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL