Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add command cluster
update-peer-clusters
(streamnative/pulsar-admin…
…-go#18) Master issue: streamnative/pulsar-admin-go#2 output : ``` USED FOR: This command is used for updating peer clusters. REQUIRED PERMISSION: This command requires super-user permissions. EXAMPLES: #updating the <cluster-name> peer clusters pulsarctl clusters update-peer-clusters -p cluster-a,cluster-b <cluster-name> OUTPUT: #normal output <cluster-name> peer clusters updated #output of doesn't specified a cluster name [✖] only one argument is allowed to be used as a name #output of cluster doesn't exist [✖] code: 404 reason: Cluster does not exist Usage: pulsarctl clusters update-peer-clusters [flags] Aliases: update-peer-clusters, upc Update peer clusters flags: -p, --peer-cluster stringArray Cluster to be registered as a peer-cluster of this cluster Common flags: -s, --admin-service-url string The admin web service url that pulsarctl connects to. (default "http://localhost:8080") -C, --color string toggle colorized logs (true,false,fabulous) (default "true") -h, --help help for this command -v, --verbose int set log level, use 0 to silence, 4 for debugging (default 3) Use 'pulsarctl clusters update-peer-clusters [command] --help' for more information about a command. ```
- Loading branch information