Skip to content

[main] Format markdown #8957

[main] Format markdown

[main] Format markdown #8957

Triggered via pull request November 27, 2026 13:12
Status Failure
Total duration 3m 7s
Artifacts –

knative-verify.yaml

on: pull_request
verify  /  Verify Deps and Codegen
2m 21s
verify / Verify Deps and Codegen
Fit to window
Zoom out
Zoom in

Annotations

10 errors
verify / Verify Deps and Codegen: docs/reference/func_config_git_remove.md#L0
Please run ./hack/update-codegen.sh. diff --git a/docs/reference/func_config_git_remove.md b/docs/reference/func_config_git_remove.md index c5bcad2..b07634a 100644 --- a/docs/reference/func_config_git_remove.md +++ b/docs/reference/func_config_git_remove.md @@ -6,11 +6,12 @@ Remove Git settings from the function configuration Remove Git settings from the function configuration - Interactive prompt to remove Git settings from the function project in the current - directory or from the directory specified with --path. + Interactive prompt to remove Git settings from the function project in the current + directory or from the directory specified with --path. + + It also removes any generated resources that are used for Git based build and deployment, + such as local generated Pipelines resources and any resources generated on the cluster. - It also removes any generated resources that are used for Git based build and deployment, - such as local generated Pipelines resources and any resources generated on the cluster. ``` func config git remove @@ -28,4 +29,5 @@ func config git remove ### SEE ALSO -- [func config git](func_config_git.md) - Manage Git configuration of a function +* [func config git](func_config_git.md) - Manage Git configuration of a function +
verify / Verify Deps and Codegen: docs/reference/func_config_git.md#L0
Please run ./hack/update-codegen.sh. diff --git a/docs/reference/func_config_git.md b/docs/reference/func_config_git.md index 0d9df71..2c15498 100644 --- a/docs/reference/func_config_git.md +++ b/docs/reference/func_config_git.md @@ -9,6 +9,7 @@ Manage Git configuration of a function Prints Git configuration for a function project present in the current directory or from the directory specified with --path. + ``` func config git ``` @@ -23,6 +24,7 @@ func config git ### SEE ALSO -- [func config](func_config.md) - Configure a function -- [func config git remove](func_config_git_remove.md) - Remove Git settings from the function configuration -- [func config git set](func_config_git_set.md) - Set Git settings in the function configuration +* [func config](func_config.md) - Configure a function +* [func config git remove](func_config_git_remove.md) - Remove Git settings from the function configuration +* [func config git set](func_config_git_set.md) - Set Git settings in the function configuration +
verify / Verify Deps and Codegen: docs/reference/func_config_envs_remove.md#L0
Please run ./hack/update-codegen.sh. diff --git a/docs/reference/func_config_envs_remove.md b/docs/reference/func_config_envs_remove.md index 1652ded..ac551a6 100644 --- a/docs/reference/func_config_envs_remove.md +++ b/docs/reference/func_config_envs_remove.md @@ -9,6 +9,7 @@ Remove environment variable from the function configuration Interactive prompt to remove Environment variables from the function project in the current directory or from the directory specified with --path. + ``` func config envs remove ``` @@ -24,4 +25,5 @@ func config envs remove ### SEE ALSO -- [func config envs](func_config_envs.md) - List and manage configured environment variable for a function +* [func config envs](func_config_envs.md) - List and manage configured environment variable for a function +
verify / Verify Deps and Codegen: docs/reference/func_config_envs_add.md#L0
Please run ./hack/update-codegen.sh. diff --git a/docs/reference/func_config_envs_add.md b/docs/reference/func_config_envs_add.md index 7abf779..6a5a1aa 100644 --- a/docs/reference/func_config_envs_add.md +++ b/docs/reference/func_config_envs_add.md @@ -50,4 +50,5 @@ func config envs add --value='{{ configMap:confMapName }}' ### SEE ALSO -- [func config envs](func_config_envs.md) - List and manage configured environment variable for a function +* [func config envs](func_config_envs.md) - List and manage configured environment variable for a function +
verify / Verify Deps and Codegen: docs/reference/func_config_envs.md#L0
Please run ./hack/update-codegen.sh. diff --git a/docs/reference/func_config_envs.md b/docs/reference/func_config_envs.md index 965d1c7..1bfefe1 100644 --- a/docs/reference/func_config_envs.md +++ b/docs/reference/func_config_envs.md @@ -9,6 +9,7 @@ List and manage configured environment variable for a function Prints configured Environment variable for a function project present in the current directory or from the directory specified with --path. + ``` func config envs ``` @@ -24,6 +25,7 @@ func config envs ### SEE ALSO -- [func config](func_config.md) - Configure a function -- [func config envs add](func_config_envs_add.md) - Add environment variable to the function configuration -- [func config envs remove](func_config_envs_remove.md) - Remove environment variable from the function configuration +* [func config](func_config.md) - Configure a function +* [func config envs add](func_config_envs_add.md) - Add environment variable to the function configuration +* [func config envs remove](func_config_envs_remove.md) - Remove environment variable from the function configuration +
verify / Verify Deps and Codegen: docs/reference/func_config_ci.md#L0
Please run ./hack/update-codegen.sh. diff --git a/docs/reference/func_config_ci.md b/docs/reference/func_config_ci.md index b5287fc..b8db24d 100644 --- a/docs/reference/func_config_ci.md +++ b/docs/reference/func_config_ci.md @@ -29,4 +29,5 @@ func config ci ### SEE ALSO -- [func config](func_config.md) - Configure a function +* [func config](func_config.md) - Configure a function +
verify / Verify Deps and Codegen: docs/reference/func_config.md#L0
Please run ./hack/update-codegen.sh. diff --git a/docs/reference/func_config.md b/docs/reference/func_config.md index e09d5c5..1bb662b 100644 --- a/docs/reference/func_config.md +++ b/docs/reference/func_config.md @@ -10,6 +10,7 @@ Interactive prompt that allows configuration of Git configuration, Volume mounts variables, and Labels for a function project present in the current directory or from the directory specified with --path. + ``` func config ``` @@ -24,9 +25,10 @@ func config ### SEE ALSO -- [func](func.md) - func manages Knative Functions -- [func config ci](func_config_ci.md) - Generate a GitHub Workflow for function deployment -- [func config envs](func_config_envs.md) - List and manage configured environment variable for a function -- [func config git](func_config_git.md) - Manage Git configuration of a function -- [func config labels](func_config_labels.md) - List and manage configured labels for a function -- [func config volumes](func_config_volumes.md) - List and manage configured volumes for a function +* [func](func.md) - func manages Knative Functions +* [func config ci](func_config_ci.md) - Generate a GitHub Workflow for function deployment +* [func config envs](func_config_envs.md) - List and manage configured environment variable for a function +* [func config git](func_config_git.md) - Manage Git configuration of a function +* [func config labels](func_config_labels.md) - List and manage configured labels for a function +* [func config volumes](func_config_volumes.md) - List and manage configured volumes for a function +
verify / Verify Deps and Codegen: docs/reference/func_completion.md#L0
Please run ./hack/update-codegen.sh. diff --git a/docs/reference/func_completion.md b/docs/reference/func_completion.md index efd474e..455fbc5 100644 --- a/docs/reference/func_completion.md +++ b/docs/reference/func_completion.md @@ -16,6 +16,8 @@ compdef _func f For bash: source &lt;(func completion bash) + + ``` func completion <bash|zsh|fish> ``` @@ -28,4 +30,5 @@ func completion <bash|zsh|fish> ### SEE ALSO -- [func](func.md) - func manages Knative Functions +* [func](func.md) - func manages Knative Functions +
verify / Verify Deps and Codegen: docs/reference/func_build.md#L0
Please run ./hack/update-codegen.sh. diff --git a/docs/reference/func_build.md b/docs/reference/func_build.md index ea3913f..32d9aa6 100644 --- a/docs/reference/func_build.md +++ b/docs/reference/func_build.md @@ -4,48 +4,51 @@ Build a function container ### Synopsis + NAME -func build - Build a function container locally without deploying + func build - Build a function container locally without deploying SYNOPSIS -func build [-r|--registry] [--builder] [--builder-image] -[--push] [--username] [--password] [--token] -[--platform] [-p|--path] [-c|--confirm] [-v|--verbose] -[--build-timestamp] [--registry-insecure] [--registry-authfile] + func build [-r|--registry] [--builder] [--builder-image] + [--push] [--username] [--password] [--token] + [--platform] [-p|--path] [-c|--confirm] [-v|--verbose] + [--build-timestamp] [--registry-insecure] [--registry-authfile] DESCRIPTION - Builds a function's container image and optionally pushes it to the - configured container registry. + Builds a function's container image and optionally pushes it to the + configured container registry. - By default building is handled automatically when deploying (see the deploy - subcommand). However, sometimes it is useful to build a function container - outside of this normal deployment process, for example for testing or during - composition when integrating with other systems. Additionally, the container - can be pushed to the configured registry using the --push option. + By default building is handled automatically when deploying (see the deploy + subcommand). However, sometimes it is useful to build a function container + outside of this normal deployment process, for example for testing or during + composition when integrating with other systems. Additionally, the container + can be pushed to the configured registry using the --push option. - When building a function for the first time, either a registry or explicit - image name is required. Subsequent builds will reuse these option values. + When building a function for the first time, either a registry or explicit + image name is required. Subsequent builds will reuse these option values. EXAMPLES - o Build a function container using the given registry. - The full image name will be calculated using the registry and function name. - $ func build --registry registry.example.com/alice + o Build a function container using the given registry. + The full image name will be calculated using the registry and function name. + $ func build --registry registry.example.com/alice + + o Build a function container using an explicit image name, ignoring registry + and function name. + $ func build --image registry.example.com/alice/f:latest - o Build a function container using an explicit image name, ignoring registry - and function name. - $ func build --image registry.example.com/alice/f:latest + o Rebuild a function using prior values to determine container name. + $ func build - o Rebuild a function using prior values to determine container name. - $ func build + o Build a function specifying the Source-to-Image (S2I) builder + $ func build --builder=s2i + + o Build a function specifying the Pack builder with a custom Buildpack + builder image. + $ func build --builder=pack --builder-image=cnbs/sample-builder:bionic - o Build a function specifying the Source-to-Image (S2I) builder - $ func build --builder=s2i - o Build a function specifying the Pack builder with a custom Buildpack - builder image. - $ func build --builder=pack --builder-image=cnbs/sample-builder:bionic ``` func build @@ -75,4 +78,5 @@ func build ### SEE ALSO -- [func](func.md) - func manages Knative Functions +* [func](func.md) - func manages Knative Functions +
verify / Verify Deps and Codegen: docs/reference/func.md#L0
Please run ./hack/update-codegen.sh. diff --git a/docs/reference/func.md b/docs/reference/func.md index 92afea5..208d2a5 100644 --- a/docs/reference/func.md +++ b/docs/reference/func.md @@ -6,13 +6,13 @@ func manages Knative Functions func is the command line interface for managing Knative Function resources - Create a new Node.js function in the current directory: - func create --language node myfunction + Create a new Node.js function in the current directory: + func create --language node myfunction - Deploy the function using Docker hub to host the image: - func deploy --registry docker.io/alice + Deploy the function using Docker hub to host the image: + func deploy --registry docker.io/alice -Learn more about Functions: https://knative.dev/docs/functions/ +Learn more about Functions: https://knative.dev/docs/functions/ Learn more about Knative at: https://knative.dev ### Options @@ -23,21 +23,22 @@ Learn more about Knative at: https://knative.dev ### SEE ALSO -- [func build](func_build.md) - Build a function container -- [func completion](func_completion.md) - Output functions shell completion code -- [func config](func_config.md) - Configure a function -- [func create](func_create.md) - Create a function -- [func delete](func_delete.md) - Undeploy a function -- [func deploy](func_deploy.md) - Deploy a function -- [func describe](func_describe.md) - Describe a function -- [func environment](func_environment.md) - Display function execution environment information -- [func invoke](func_invoke.md) - Invoke a local or remote function -- [func languages](func_languages.md) - List available function language runtimes -- [func list](func_list.md) - List deployed functions -- [func logs](func_logs.md) - Print or stream logs from a deployed function -- [func mcp](func_mcp.md) - Model Context Protocol (MCP) server -- [func repository](func_repository.md) - Manage installed template repositories -- [func run](func_run.md) - Run the function locally -- [func subscribe](func_subscribe.md) - Subscribe a function to events -- [func templates](func_templates.md) - List available function source templates -- [func version](func_version.md) - Function client version information +* [func build](func_build.md) - Build a function container +* [func completion](func_completion.md) - Output functions shell completion code +* [func config](func_config.md) - Configure a function +* [func create](func_create.md) - Create a function +* [func delete](func_delete.md) - Undeploy a function +* [func deploy](func_deploy.md) - Deploy a function +* [func describe](func_describe.md) - Describe a function +* [func environment](func_environment.md) - Display function execution environment information +* [func invoke](func_invoke.md) - Invoke a local or remote function +* [func languages](func_languages.md) - List available function language runtimes +* [func list](func_list.md) - List deployed functions +* [func logs](func_logs.md) - Print or stream logs from a deployed function +* [func mcp](func_mcp.md) - Model Context Protocol (MCP) server +* [func repository](func_repository.md) - Manage installed template repositories +* [func run](func_run.md) - Run the function locally +* [func subscribe](func_subscribe.md) - Subscribe a function to events +* [func templates](func_templates.md) - List available function source templates +* [func version](func_version.md) - Function client version information +