Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConn ¶
type ClientConn interface { // GetState returns the connectivity.State of ClientConn. GetState() connectivity.State io.Closer grpc.ClientConnInterface }
ClientConn is an interface that defines the functions clients need to perform unary and streaming RPCs. It is implemented by *grpc.ClientConn.
type ClientConnBuilder ¶
type ClientConnBuilder interface { // ClientConn creates a new ClientConn using target as the address and, // optionally, hostname. ClientConn(target, hostname string) (ClientConn, error) }
ClientConnBuilder wraps the ClientConn method.
type Peer ¶
type Peer struct { peerTypes.Peer Conn ClientConn }
Peer is like hubblePeer.Peer but includes a Conn attribute to reach the peer's gRPC API endpoint.
Click to show internal directories.
Click to hide internal directories.