linkerd2/cli/cmd/testdata
Eliza Weisman b8434d60d4
Add resource metadata to Tap CLI output (#1437)
Closes #1170.

This branch adds a `-o wide` (or `--output wide`) flag to the Tap CLI.
Passing this flag adds `src_res` and `dst_res` elements to the Tap
output, as described in #1170. These use the metadata labels in the tap
event to describe what Kubernetes resource the source and destination
peers belong to, based on what resource type is being tapped, and fall
back to pods if either peer is not a member of the specified resource
type.

In addition, when the resource type is not `namespace`, `src_ns` and
`dst_ns` elements are added, which show what namespaces the the source
and destination peers are in. For peers which are not in the Kubernetes
cluster, none of these labels are displayed.

The source metadata added in #1434 is used to populate the `src_res` and
`src_ns` fields.

Also, this branch includes some refactoring to how tap output is
formatted.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2018-08-20 14:25:26 -07:00
..
inject-filepath Update inject cmd to read from folder (#1377) 2018-08-01 17:12:00 -07:00
inject_emojivoto_deployment.golden.yml Rename CLI from conduit to linkerd (#1312) 2018-07-12 17:14:07 -07:00
inject_emojivoto_deployment.input.yml Refactor `conduit inject` code to make it unit-testable. (#379) 2018-02-18 12:33:52 -10:00
inject_emojivoto_deployment_controller_name.golden.yml Rename CLI from conduit to linkerd (#1312) 2018-07-12 17:14:07 -07:00
inject_emojivoto_deployment_controller_name.input.yml Rename CLI from conduit to linkerd (#1312) 2018-07-12 17:14:07 -07:00
inject_emojivoto_deployment_hostNetwork_false.golden.yml Remove executable bit from non-executable files. (#1335) 2018-07-16 13:55:52 -10:00
inject_emojivoto_deployment_hostNetwork_false.input.yml Remove executable bit from non-executable files. (#1335) 2018-07-16 13:55:52 -10:00
inject_emojivoto_deployment_hostNetwork_true.golden.yml Remove executable bit from non-executable files. (#1335) 2018-07-16 13:55:52 -10:00
inject_emojivoto_deployment_hostNetwork_true.input.yml Remove executable bit from non-executable files. (#1335) 2018-07-16 13:55:52 -10:00
inject_emojivoto_deployment_tls.golden.yml Rename CLI from conduit to linkerd (#1312) 2018-07-12 17:14:07 -07:00
inject_emojivoto_list.golden.yml Rename CLI from conduit to linkerd (#1312) 2018-07-12 17:14:07 -07:00
inject_emojivoto_list.input.yml Made inject aware of the List type. (#886) 2018-05-10 08:08:55 -05:00
inject_emojivoto_pod.golden.yml Rename CLI from conduit to linkerd (#1312) 2018-07-12 17:14:07 -07:00
inject_emojivoto_pod.input.yml Add Pod to injectable types (#1213) 2018-06-27 14:37:05 -07:00
inject_emojivoto_pod_tls.golden.yml Rename CLI from conduit to linkerd (#1312) 2018-07-12 17:14:07 -07:00
inject_emojivoto_statefulset.golden.yml Update prometheus labels to match k8s resource names (#1355) 2018-07-23 15:45:05 -07:00
inject_emojivoto_statefulset.input.yml Adding statefulsets to inject. Fixes #907 (#910) 2018-05-10 09:00:36 -05:00
inject_gettest_deployment.bad.golden Rename CLI from conduit to linkerd (#1312) 2018-07-12 17:14:07 -07:00
inject_gettest_deployment.bad.input.yml Print error message only when invalid YAML file is used with inject command (#389) 2018-02-20 11:59:41 -08:00
inject_gettest_deployment.good.golden.yml Rename CLI from conduit to linkerd (#1312) 2018-07-12 17:14:07 -07:00
inject_gettest_deployment.good.input.yml Print error message only when invalid YAML file is used with inject command (#389) 2018-02-20 11:59:41 -08:00
install_default.golden Restore linkerd.io/control-plane* labels (#1411) 2018-08-07 13:53:29 -07:00
install_output.golden Restore linkerd.io/control-plane* labels (#1411) 2018-08-07 13:53:29 -07:00
stat_busy_output.golden Remove pod-level metrics from web and CLI (#304) 2018-02-08 19:07:10 -08:00
stat_empty_output.golden Make several CLI commands testable (#86) 2017-12-27 14:10:41 -05:00
stat_one_output.golden Make several CLI commands testable (#86) 2017-12-27 14:10:41 -05:00
status_busy_output.golden cli: ensure check command has 80-character output (#587) 2018-03-20 13:55:19 -07:00
tap_busy_output.golden Add resource metadata to Tap CLI output (#1437) 2018-08-20 14:25:26 -07:00
tap_busy_output_wide.golden Add resource metadata to Tap CLI output (#1437) 2018-08-20 14:25:26 -07:00
tap_empty_output.golden Make several CLI commands testable (#86) 2017-12-27 14:10:41 -05:00