MCPcopy Index your code
hub / github.com/cli/cli / invoker

Struct invoker

internal/codespaces/rpc/invoker.go:52–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected