linkerd2/cli
Alejandro Pedraza 53e589890d
Have `linkerd endpoints` use `Destination.Get` (#2990)
* Have `linkerd endpoints` use `Destination.Get`

Fixes #2885

We're refactoring `linkerd endpoints` so it hits
directly the `Destination.Get` endpoint, instead of relying on the
Discovery service.

For that, I've created a new `client.go` for Destination and added it to
the `APIClient` interface.

I've also added a `destinationClient` struct that mimics `tapClient`,
and whose common logic has been moved into `stream_client.go`.

Analogously, I added a `destinationServer` struct that mimics
`tapServer`.

Signed-off-by: Alejandro Pedraza <alejandro@buoyant.io>
2019-07-03 09:11:03 -05:00
..
cmd Have `linkerd endpoints` use `Destination.Get` (#2990) 2019-07-03 09:11:03 -05:00
install Introduce Control Plane's PSP and RBAC resources into Helm templates (#2920) 2019-06-12 20:18:46 -07:00
installsp Move tap service into its own pod. (#2773) 2019-05-15 16:28:44 -05:00
static Remove GOPATH dependency from cli dev environment (#2444) 2019-03-05 10:25:14 -08:00
Dockerfile-bin Add traffic splitting to destination profiles (#2931) 2019-06-28 13:19:47 -07:00
main.go Introduce go generate to embed static templates (#2189) 2019-02-04 18:09:47 -08:00