linkerd2/cli/cmd
Brian Smith 1489a84316
Refactor `conduit inject` code to eliminate duplicate logic (#383)
* Refactor `conduit inject` code to eliminate duplicate logic

Previously there was a lot of code repeated once for each type of
object that has a pod spec.

Refactor the code to reduce the amount of duplication there, to make future
changes easier.

Signed-off-by: Brian Smith <brian@briansmith.org>
2018-02-19 11:18:44 -10:00
..
testdata UI tweaks: sidebar collapse, latency formatting, table row spacing (#361) 2018-02-19 11:21:54 -08:00
check.go Replace shelling out with kubernetes proxy (#249) 2018-02-02 10:31:59 -08:00
check_test.go cli polish for 0.1.2 release (#176) 2018-01-18 16:33:25 -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 add check and friendly error if conduit dashboard is not installed (#289) 2018-02-19 09:28:56 -08: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 scheme requirement for api-addr flag in conduit CLI (#126) 2018-01-17 17:12:44 -08:00
get_test.go fix typo error (#153) 2018-01-16 11:20:21 -05:00
inject.go Refactor `conduit inject` code to eliminate duplicate logic (#383) 2018-02-19 11:18:44 -10:00
inject_test.go Skip pods with hostNetwork=true in `conduit inject` (#380) 2018-02-18 13:55:42 -10:00
install.go UI tweaks: sidebar collapse, latency formatting, table row spacing (#361) 2018-02-19 11:21:54 -08:00
install_test.go Refactor `conduit inject` code to make it unit-testable. (#379) 2018-02-18 12:33:52 -10:00
root.go Replace shelling out with kubernetes proxy (#249) 2018-02-02 10:31:59 -08:00
stat.go Remove per-path metrics from telemetry pipeline (#317) 2018-02-09 14:20:28 -08:00
stat_test.go Remove pod-level metrics from web and CLI (#304) 2018-02-08 19:07:10 -08:00
tap.go Update cli subcommands to print errors when encountered (#221) 2018-01-29 11:28:19 -08:00
tap_test.go Move EosCtx to common for Tap and Telemetery (#204) 2018-01-24 15:48:00 -08:00
test_helper.go Refactor `conduit inject` code to make it unit-testable. (#379) 2018-02-18 12:33:52 -10:00
version.go Add --short and --client to CLI version command (#274) 2018-02-05 17:02:45 -05:00
version_test.go Update cli subcommands to print errors when encountered (#221) 2018-01-29 11:28:19 -08:00