linkerd2-proxy/proxy
Oliver Gould 50cb2f84db rfc: Make DestinationServiceQuery generic (#749)
The goals of this change are:
1. Reduce the size/complexity of `control::discovery` in order to ease code reviews.
2. Extract a reusable grpc streaming utility.

There are no intended functional changes.

`control::discovery::DestinationServiceQuery` is used to track the state of a request (and
streaming response) to the destination service. Very little of this logic is specific to
the destination service.

The `DestinationServiceQuery` and associated `UpdateRx` type have been moved to a new
module, `control::remote_stream`, as `Remote` and `Receiver`, respectively. Both of these
types are generic over the gRPC message type, so it will be possible to use this utility
with additional API endpoints.

The `Receiver::poll` implementation has been simplified to be more idiomatic with the rest
of our code (namely, using `try_ready!`).
2018-05-08 16:54:20 -07:00
..
benches proxy: Fix metrics constructor in benches (#881) 2018-04-30 17:48:07 -07:00
convert Prepare for the v0.3.0 release (#406) 2018-02-21 11:14:11 -08:00
futures-mpsc-lossy Prepare for the v0.3.0 release (#406) 2018-02-21 11:14:11 -08:00
router proxy: Track SingleUse services against router capacity (#902) 2018-05-08 10:57:56 -07:00
src rfc: Make DestinationServiceQuery generic (#749) 2018-05-08 16:54:20 -07:00
tests proxy: Parse units with duration configurations (#909) 2018-05-08 13:54:12 -07:00
Cargo.toml proxy: Parse units with duration configurations (#909) 2018-05-08 13:54:12 -07:00