2019-11-08 09:44:36 +01:00

853 B

Read this on the main serverless docs site

Knative - Invoke

Invokes the deployed function and display its output on the console.

serverless invoke --function functionName

Options

  • --function or -f The name of the function in your service that you want to invoke. Required.

Examples

serverless invoke --function functionName

This example will invoke your deployed function named functionName and outputs the result of the invocation in your terminal.