Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
Conn is a net.Conn, plus a Wait() method.
func AcceptFromSystemA ¶
func AcceptFromSystemA(systema manager.ManagerProxy_HandleConnectionServer) (interceptID string, conn Conn, err error)
AcceptFromSystemA is used by a Telepresence manger to accept a connection from SystemA.
func DialToManager ¶
func DialToManager(ctx context.Context, managerClient manager.ManagerProxyClient, interceptID string, opts ...grpc.CallOption) (Conn, error)
DialToManager uses a ReverseConnection to dial from SystemA to a Telepresence manager.
func Wrap ¶
func Wrap(impl ReverseConnectionImpl) Conn
Wrap takes a systema.SystemAProxy_ReverseConnectionClient or systema.SystemAProxy_ReverseConnectionServer and wraps it so that it can be used as a net.Conn.
Click to show internal directories.
Click to hide internal directories.