MCPcopy
hub / github.com/cli/cli / invoker

Struct invoker

internal/codespaces/rpc/invoker.go:51–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51type invoker struct {
52 conn *grpc.ClientConn
53 fwd portforwarder.PortForwarder
54 listener net.Listener
55 jupyterClient jupyter.JupyterServerHostClient
56 codespaceClient codespace.CodespaceHostClient
57 sshClient ssh.SshServerHostClient
58 cancelPF context.CancelFunc
59 keepAliveOverride bool
60}
61
62// Connects to the internal RPC server and returns a new invoker for it
63func CreateInvoker(ctx context.Context, fwd portforwarder.PortForwarder) (Invoker, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected