linkerd2/cli/cmd
Andrew Seigner 77fb6d3709
Add namespace as a resource type in public-api (#760)
* Add namespace as a resource type in public-api

The cli and public-api only supported deployments as a resource type.

This change adds support for namespace as a resource type in the cli and
public-api. This also change includes:
- cli statsummary now prints `-`'s when objects are not in the mesh
- cli statsummary prints `No resources found.` when applicable
- removed `out-` from cli statsummary flags, and analagous proto changes
- switched public-api to use native prometheus label types
- misc error handling and logging fixes

Part of #627

Signed-off-by: Andrew Seigner <siggy@buoyant.io>

* Refactor filter and groupby label formulation

Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>

* Rename stat_summary.go to stat.go in cli

Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>

* Update rbac privileges for namespace stats

Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>
2018-04-13 16:53:01 -07:00
..
testdata Add namespace as a resource type in public-api (#760) 2018-04-13 16:53:01 -07:00
check.go CLI: change conduit namespace shorthand flag to -c (#714) 2018-04-06 14:47:31 -07:00
check_test.go Remove kubectl dependency, validate k8s server version via api (#396) 2018-02-20 12:14:11 -08:00
completion.go Add -log-level flag for install and inject commands (#239) 2018-02-01 12:38:07 -08:00
completion_test.go Add shell completion command to cli (#97) 2017-12-28 14:24:06 -08:00
dashboard.go CLI: change conduit namespace shorthand flag to -c (#714) 2018-04-06 14:47:31 -07:00
dashboard_test.go add check and friendly error if conduit dashboard is not installed (#289) 2018-02-19 09:28:56 -08:00
get.go CLI: change conduit namespace shorthand flag to -c (#714) 2018-04-06 14:47:31 -07:00
get_test.go fix typo error (#153) 2018-01-16 11:20:21 -05:00
inject.go Remove NODE_NAME and POD_NAME env usage (#758) 2018-04-13 13:09:51 -07:00
inject_test.go Inject the conduit proxy into controller pod during conduit install (#365) 2018-02-23 13:55:46 -08:00
install.go CLI: change conduit namespace shorthand flag to -c (#714) 2018-04-06 14:47:31 -07:00
install_test.go Build conduit-specific Grafana Docker image (#679) 2018-04-05 14:20:05 -07:00
root.go CLI: change conduit namespace shorthand flag to -c (#714) 2018-04-06 14:47:31 -07:00
stat.go Add namespace as a resource type in public-api (#760) 2018-04-13 16:53:01 -07:00
tap.go CLI: change conduit namespace shorthand flag to -c (#714) 2018-04-06 14:47:31 -07:00
tap_test.go Move EosCtx to common for Tap and Telemetery (#204) 2018-01-24 15:48:00 -08:00
test_helper.go Add Grafana to conduit install (#444) 2018-02-28 11:36:21 -08:00
version.go CLI: change conduit namespace shorthand flag to -c (#714) 2018-04-06 14:47:31 -07:00
version_test.go Update cli subcommands to print errors when encountered (#221) 2018-01-29 11:28:19 -08:00