kf build
姓名
kf build
- 打印有关给定构建的信息。
摘要
kf build NAME [flags]
示例
kf build my-build
标志
--allow-missing-template-keys
- 如果为 true,则当模板中缺少字段或映射键时,请忽略模板中的所有错误。仅适用于 golang 和 jsonpath 输出格式。(默认值:true)
-h, --help
- 有关 build 的帮助
-o, --output=string
- 输出格式。以下各项中的一项:go-template|go-template-file|json|jsonpath|jsonpath-as-json|jsonpath-file|name|template|templatefile|yaml。
--template=string
- 当 -o=go-template、-o=go-template-file 时要使用的模板字符串或模板文件的路径。模板格式为 golang 模板。
继承的标志
这些标志继承自父命令。
--as=string
- 操作要模拟的用户名。
--as-group=strings
- 操作要模拟的群组。多次添加此标志可指定多个群组。
--config=string
- 用于 CLI 请求的 Kf 配置文件的路径。
--kubeconfig=string
- 用于 CLI 请求的 kubeconfig 文件的路径。
--log-http
- 将 HTTP 请求记录到标准错误。
--space=string
- 用于对其运行命令的空间。此标志会替换当前所针对的空间。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-03-26 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"很难理解"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"信息或示例代码不正确"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"没有我需要的信息/示例"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]