Serverless functions
Serverless functions v0.0.0-source-2022-09-12T14:54:32-06:00
Create, build and deploy Knative functions
SYNOPSIS func [-v|--verbose] [args]
EXAMPLES
o Create a Node function in the current directory
$ func create --language node .
o Deploy the function defined in the current working directory to the
currently connected cluster, specifying a container registry in place of
quay.io/user for the function's container.
$ func deploy --registry quay.io.user
o Invoke the function defined in the current working directory with an example
request.
$ func invoke
For more examples, see 'func [command] --help'.
-h, --help help for func
-n, --namespace string The namespace on the cluster used for remote commands. By default, the namespace func.yaml is used or the currently active namespace if not set in the configuration. (Env: $FUNC_NAMESPACE)
-v, --verbose Print verbose logs ($FUNC_VERBOSE)
- func build - Build a function project as a container image
- func completion - Generate completion scripts for bash, fish and zsh
- func config - Configure a function
- func create - Create a function project
- func delete - Undeploy a function
- func deploy - Deploy a Function
- func info - Show details of a function
- func invoke - Invoke a function
- func languages - List available function language runtimes
- func list - List functions
- func repository - Manage installed template repositories
- func run - Run the function locally
- func templates - Templates
- func version - Show the version