Merge pull request #40506 from Zhuzhenghao/id/template

[id] update link of go package text/template
pull/40536/head
Kubernetes Prow Robot 2023-04-06 02:59:48 -07:00 committed by GitHub
commit 190d50c40f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ kubectl get pods --namespace kube-system -o jsonpath="{.items[*].spec.containers
## Membuat daftar _image_ Container dengan menggunakan go-template sebagai alternatif dari jsonpath
Sebagai alternatif untuk `jsonpath`, kubectl mendukung penggunaan [go-template](https://golang.org/pkg/text/template/)
Sebagai alternatif untuk `jsonpath`, kubectl mendukung penggunaan [go-template](https://pkg.go.dev/text/template)
untuk memformat keluaran seperti berikut:
@ -122,7 +122,7 @@ kubectl get pods --all-namespaces -o go-template --template="{{range .items}}{{r
### Referensi
* Referensi panduan [Jsonpath](/docs/user-guide/jsonpath/).
* Referensi panduan [Go template](https://golang.org/pkg/text/template/).
* Referensi panduan [Go template](https://pkg.go.dev/text/template).