Pool is the interface for pooling v2 version of the grpc client.
| 42 | |
| 43 | // Pool is the interface for pooling v2 version of the grpc client. |
| 44 | type Pool interface { |
| 45 | // Serve starts the manager. |
| 46 | Serve() |
| 47 | |
| 48 | // Stop stops the manager. |
| 49 | Stop() |
| 50 | |
| 51 | // Get returns the client by address. |
| 52 | Get(target string, opts ...grpc.DialOption) (V2, error) |
| 53 | } |
| 54 | |
| 55 | // pool is the pool for managing v2 version of the dfdaemon client. |
| 56 | type pool struct { |
no outgoing calls
no test coverage detected