linkerd2/web/srv
Alex Leong 5a67e83ff5
Add json output format support to linkerd profile command (#12611)
Add an`-o/--output` flag to the `linkerd profile` command which outputs ServiceProfile manifests.  The supported output formats are yaml (default) and json.  Both of these formats are supported by kubectl and either one can be piped into `kubectl apply`.

Signed-off-by: Alex Leong <alex@buoyant.io>
2024-05-21 16:37:14 -07:00
..
testdata Versioned `linkerd check` hint URLs (#6102) 2021-05-10 13:21:15 -05:00
api_handlers.go enable `staticcheck` (#8037) 2022-03-10 15:43:35 -08:00
api_handlers_test.go Replace usage of io/ioutil package (#9613) 2022-10-13 12:10:58 -05:00
handlers.go Add json output format support to linkerd profile command (#12611) 2024-05-21 16:37:14 -07:00
handlers_test.go Use go-test/deep for comparisons in tests (#8427) 2022-05-05 09:31:07 -07:00
reverse_proxy.go Fix bad Host in dashboard's reverse proxy (#8073) 2022-03-16 09:07:37 -05:00
server.go Remove TrafficSplit from Dashboard (#10532) 2023-03-17 08:48:09 -05:00
test_helpers.go Enable lint check for comments (#2023) 2019-01-02 14:03:59 -08:00