blob: 3c6b78f5ff0d5552f061f578e919eaa354825f5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
@PLUGIN@ list
==============
NAME
----
@PLUGIN@ list - List remote destination information.
SYNOPSIS
--------
```
ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list
[--remote <PATTERN>]
[--detail]
[--json]
```
DESCRIPTION
-----------
Lists the name and URL for remote destinations.
ACCESS
------
Caller must be a member of the privileged 'Administrators' group.
SCRIPTING
---------
This command is intended to be used in scripts.
OPTIONS
-------
`--remote <PATTERN>`
: Only print information for destinations whose remote name matches
the `PATTERN`.
`--detail`
: Print additional detailed information: AdminUrl, AuthGroup, Project
and queue (pending and in-flight).
`--json`
: Output in json format.
EXAMPLES
--------
List all destinations:
```
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list
```
List all destinations detail information:
```
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list --detail
```
List all destinations detail information in json format:
```
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list --detail --json
```
List destinations whose name contains mirror:
```
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list --remote mirror
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list --remote ^.*mirror.*
```
SEE ALSO
--------
* [Replication Configuration](config.html)
* [Access Control](../../../Documentation/access-control.html)
|