networkservicemesh / nsmctl

nsmctl is command line utility for service operators to configure and diagnose their network service mesh
GNU General Public License v3.0
1 stars 3 forks source link

nsmctl: implement cmd get/networkservices #7

Closed denis-tingaikin closed 1 year ago

denis-tingaikin commented 1 year ago

Description

Provide a possibility to nsmctl to get the correct networkservices from the NSM domain.

Input parameters

domain - Name of the NSM domain. In most cases, it is a DNS subdomain of the k8s cluster or VM.

Flags

-o, --output. Allowed parameters: ['go-template', 'jsonpath', 'yamlpath']. Required correct query for ['go-template', 'jsonpath', 'yamlpath'].

Example

$nsmctl get networkservices @my-domain

###out

№  name  payload  matches
1
denis-tingaikin commented 1 year ago

Closed by https://github.com/networkservicemesh/nsmctl/pull/12