Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGRPCService ¶
func NewGRPCService( callbacks Callbacks, sharedState *sharedstate.State, ) rpc.ConnectorServer
func NewManagerProxy ¶ added in v2.4.5
func NewManagerProxy(client managerrpc.ManagerClient, callOptions ...grpc.CallOption) managerrpc.ManagerServer
NewManagerProxy returns a rpc.ManagerServer that just proxies all requests through the given rpc.ManagerClient.
Types ¶
type Callbacks ¶
type Callbacks struct { InterceptStatus func() *rpc.InterceptResult Cancel func() Connect func(c context.Context, cr *rpc.ConnectRequest, dryRun bool) *rpc.ConnectInfo }
Click to show internal directories.
Click to hide internal directories.