linkerd2/cli/cmd
Risha Mars 46c99febf2
Don't panic on stats that aren't included in StatAllResourceTypes (#1154)
Problem
`conduit stat` would cause a panic for any resource that wasn't in the list 
of StatAllResourceTypes
This bug was introduced by https://github.com/runconduit/conduit/pull/1088/files

Solution
Fix writeStatsToBuffer to not depend on what resources are in StatAllResourceTypes
Also adds a unit test and integration test for `conduit stat ns`
2018-06-19 17:00:16 -07:00
..
testdata Enable get for nodes/proxy for Prometheus RBAC (#1142) 2018-06-18 17:49:23 +01:00
check.go Remove package-scoped vars in cmd package (#975) 2018-05-21 18:15:39 -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 Remove package-scoped vars in cmd package (#975) 2018-05-21 18:15:39 -07:00
completion_test.go Remove package-scoped vars in cmd package (#975) 2018-05-21 18:15:39 -07:00
dashboard.go Remove package-scoped vars in cmd package (#975) 2018-05-21 18:15:39 -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 Remove package-scoped vars in cmd package (#975) 2018-05-21 18:15:39 -07:00
get_test.go fix typo error (#153) 2018-01-16 11:20:21 -05:00
inject.go Propagate errors in conduit containers to the api (#1117) 2018-06-14 16:22:31 -07:00
inject_test.go Remove package-scoped vars in cmd package (#975) 2018-05-21 18:15:39 -07:00
install.go Add install flag for sending tls identity info to proxies (#1055) 2018-06-04 16:55:06 -07:00
install_test.go Add install flag for sending tls identity info to proxies (#1055) 2018-06-04 16:55:06 -07:00
root.go conduit inject: Add flag to set proxy bind timeout (#865) 2018-05-29 11:14:29 -07:00
stat.go Don't panic on stats that aren't included in StatAllResourceTypes (#1154) 2018-06-19 17:00:16 -07:00
stat_test.go Don't panic on stats that aren't included in StatAllResourceTypes (#1154) 2018-06-19 17:00:16 -07:00
tap.go Move controller/util and web/util packages to pkg (#1109) 2018-06-13 11:25:56 -07:00
tap_test.go Move controller/util and web/util packages to pkg (#1109) 2018-06-13 11:25:56 -07:00
test_helper.go Add Grafana to conduit install (#444) 2018-02-28 11:36:21 -08:00
version.go Remove package-scoped vars in cmd package (#975) 2018-05-21 18:15:39 -07:00
version_test.go Update cli subcommands to print errors when encountered (#221) 2018-01-29 11:28:19 -08:00