Merge pull request #10747 from jwhonce/wip/report

Add --format to connection list
This commit is contained in:
OpenShift Merge Robot
2021-06-23 15:53:31 -04:00
committed by GitHub
3 changed files with 52 additions and 8 deletions

View File

@ -4,13 +4,28 @@
podman\-system\-connection\-list - List the destination for the Podman service(s)
## SYNOPSIS
**podman system connection list**
**podman system connection list** [*options*]
**podman system connection ls**
**podman system connection ls** [*options*]
## DESCRIPTION
List ssh destination(s) for podman service(s).
## OPTIONS
#### **--format**=*format*
Change the default output format. This can be of a supported type like 'json' or a Go template.
Valid placeholders for the Go template listed below:
| **Placeholder** | **Description** |
| --------------- | ----------------------------------------------------------------------------- |
| *.Name* | Connection Name/Identifier |
| *.Identity* | Path to file containing SSH identity |
| *.URI* | URI to podman service. Valid schemes are ssh://[user@]*host*[:port]*Unix domain socket*[?secure=True], unix://*Unix domain socket*, and tcp://localhost[:*port*] |
An asterisk is appended to the default connection.
## EXAMPLE
```
$ podman system connection list