Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteCommand ¶
ExecuteCommand runs the command in an SSH Tunnel and returns the result. The SSH transport is managed as a connection; grpcBridge remains a bounded duplex operation between the SSH command and the gRPC server.
Types ¶
type AgentInjectFunc ¶
type ExecuteCommandOptions ¶
type ExecuteCommandOptions struct {
Client client2.WorkspaceClient
AddPrivateKeys bool
AgentInject AgentInjectFunc
SSHCommand string
Command string
TunnelServerFunc TunnelServerFunc
}
Click to show internal directories.
Click to hide internal directories.