update link of go package text/template
This commit is contained in:
parent
29205f45ae
commit
ba9d0faf80
|
|
@ -81,7 +81,7 @@ kubectl get pods --namespace kube-system -o jsonpath="{.items[*].spec.containers
|
|||
|
||||
## List Container images using a go-template instead of jsonpath
|
||||
|
||||
As an alternative to jsonpath, Kubectl supports using [go-templates](https://golang.org/pkg/text/template/)
|
||||
As an alternative to jsonpath, Kubectl supports using [go-templates](https://pkg.go.dev/text/template)
|
||||
for formatting the output:
|
||||
|
||||
```shell
|
||||
|
|
@ -93,5 +93,4 @@ kubectl get pods --all-namespaces -o go-template --template="{{range .items}}{{r
|
|||
### Reference
|
||||
|
||||
* [Jsonpath](/docs/reference/kubectl/jsonpath/) reference guide
|
||||
* [Go template](https://golang.org/pkg/text/template/) reference guide
|
||||
|
||||
* [Go template](https://pkg.go.dev/text/template) reference guide
|
||||
|
|
|
|||
|
|
@ -128,4 +128,4 @@ is empty and the container exited with an error. The log output is limited to
|
|||
* See the `terminationMessagePath` field in
|
||||
[Container](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#container-v1-core).
|
||||
* Learn about [retrieving logs](/docs/concepts/cluster-administration/logging/).
|
||||
* Learn about [Go templates](https://golang.org/pkg/text/template/).
|
||||
* Learn about [Go templates](https://pkg.go.dev/text/template).
|
||||
|
|
|
|||
Loading…
Reference in New Issue