chore: sync docs with source code (#1261)

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
This commit is contained in:
Zbynek Roubalik 2022-09-20 13:54:09 +02:00 committed by GitHub
parent abc3097d75
commit 3d6ef471b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ Serverless functions
### Synopsis ### Synopsis
Serverless functions v0.0.0-source-2022-09-12T14:54:32-06:00 Serverless functions v0.0.0-source-2022-09-20T08:13:19&#43;02:00
Create, build and deploy Knative functions Create, build and deploy Knative functions

View File

@ -52,7 +52,7 @@ func build --builder=pack --builder-image cnbs/sample-builder:bionic
-p, --path string Path to the project directory (Env: $FUNC_PATH) (default ".") -p, --path string Path to the project directory (Env: $FUNC_PATH) (default ".")
--platform string Target platform to build (e.g. linux/amd64). --platform string Target platform to build (e.g. linux/amd64).
-u, --push Attempt to push the function image after being successfully built -u, --push Attempt to push the function image after being successfully built
-r, --registry string Registry + namespace part of the image to build, ex 'quay.io/myuser'. The full image name is automatically determined based on the local directory name. If not provided the registry will be taken from func.yaml (Env: $FUNC_REGISTRY) -r, --registry string Registry + namespace part of the image to build, ex 'quay.io/myuser'. The full image name is automatically determined (Env: $FUNC_REGISTRY)
``` ```
### Options inherited from parent commands ### Options inherited from parent commands

View File

@ -12,7 +12,7 @@ SYNOPSIS
func deploy [-R|--remote] [-r|--registry] [-i|--image] [-n|--namespace] func deploy [-R|--remote] [-r|--registry] [-i|--image] [-n|--namespace]
[-e|env] [-g|--git-url] [-t|git-branch] [-d|--git-dir] [-e|env] [-g|--git-url] [-t|git-branch] [-d|--git-dir]
[-b|--build] [--builder] [--builder-image] [-p|--push] [-b|--build] [--builder] [--builder-image] [-p|--push]
[-c|--confirm] [-v|--verbose] [--platform] [-c|--confirm] [-v|--verbose]
DESCRIPTION DESCRIPTION
@ -95,7 +95,7 @@ func deploy
-p, --path string Path to the project directory (Env: $FUNC_PATH) (default ".") -p, --path string Path to the project directory (Env: $FUNC_PATH) (default ".")
--platform string Target platform to build (e.g. linux/amd64). --platform string Target platform to build (e.g. linux/amd64).
-u, --push Push the function image to registry before deploying (Env: $FUNC_PUSH) (default true) -u, --push Push the function image to registry before deploying (Env: $FUNC_PUSH) (default true)
-r, --registry string Registry + namespace part of the image to build, ex 'ghcr.io/myuser'. The full image name is automatically determined based on the local directory name. If not provided the registry will be taken from func.yaml (Env: $FUNC_REGISTRY) -r, --registry string Registry + namespace part of the image to build, ex 'ghcr.io/myuser'. The full image name is automatically determined. (Env: $FUNC_REGISTRY)
--remote Trigger a remote deployment. Default is to deploy and build from the local system: $FUNC_REMOTE) --remote Trigger a remote deployment. Default is to deploy and build from the local system: $FUNC_REMOTE)
``` ```