linkerd2/controller/api/public
Alejandro Pedraza f3b1ebfa99
Separate observability API (#5510)
* Separate observability API

Closes #5312

This is a preliminary step towards moving all the observability API into `/viz`, by first moving its protobuf into `viz/metrics-api`. This should facilitate review as the go files are not moved yet, which will happen in a followup PR. There are no user-facing changes here.

- Moved `proto/common/healthcheck.proto` to `viz/metrics-api/proto/healthcheck.prot`
- Moved the contents of `proto/public.proto` to `viz/metrics-api/proto/viz.proto` except for the `Version` Stuff.
- Merged `proto/controller/tap.proto` into `viz/metrics-api/proto/viz.proto`
- `grpc_server.go` now temporarily exposes `PublicAPIServer` and `VizAPIServer` interfaces to separate both APIs. This will get properly split in a followup.
- The web server provides handlers for both interfaces.
- `cli/cmd/public_api.go` and `pkg/healthcheck/healthcheck.go` temporarily now have methods to access both APIs.
- Most of the CLI commands will use the Viz API, except for `version`.

The other changes in the go files are just changes in the imports to point to the new protobufs.

Other minor changes:
- Removed `git add controller/gen` from `bin/protoc-go.sh`
2021-01-13 14:34:54 -05:00
..
testdata Push docker images to ghcr.io instead of gcr.io (#4953) 2020-09-10 15:16:24 -05:00
client.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
client_test.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
edges.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
edges_test.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
gateways.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
grpc_server.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
grpc_server_test.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
http_server.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
http_server_test.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
prometheus.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
stat_summary.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
stat_summary_test.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
stream_client.go Introduce tap APIService, update `linkerd tap` (#3167) 2019-08-01 14:02:45 -07:00
test_helper.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
top_routes.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
top_routes_test.go Separate observability API (#5510) 2021-01-13 14:34:54 -05:00