Knative Functions client API and CLI
Go to file
Luke K a4565d497f
initialize using a k8s-friendly name derived from full service name
2020-04-11 19:30:47 +00:00
appsody initialize using a k8s-friendly name derived from full service name 2020-04-11 19:30:47 +00:00
client mock pusher 2020-04-09 16:30:50 +00:00
cmd version command impl 2020-04-09 16:31:07 +00:00
k8s initialize using a k8s-friendly name derived from full service name 2020-04-11 19:30:47 +00:00
.gitignore Initial Commit 2020-03-04 14:36:41 +00:00
README.md docs: configuration notes for repo namespace 2020-04-09 16:31:39 +00:00
go.mod initial local create implementation using appsody delegate 2020-03-22 13:30:25 +00:00
go.sum initial local create implementation using appsody delegate 2020-03-22 13:30:25 +00:00
main.go Command improvements 2020-04-09 16:30:06 +00:00

README.md

faas

Function as a Service CLI

Requirements

Go 1.13+

Install

Build and install the resultant binary.

go install

Build

Build binary into the local directory.

go build

Usage

See help:

faas

Configuration

A public repository is presently required for the intermediate container. As such, one's local docker (or podman) should be logged in, and an environment variable set to the user or organization name to which images should be deployed:

export FAAS_NAMESPACE=johndoe

Examples

Create a new Function Service:

> mkdir -p example.com/www
> cd example.com/www
> faas create go
OK www.example.com
> curl https://www.example.com
OK