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.
Types ¶
type AgentInjectFunc ¶
type ExecuteCommandOptions ¶
type ExecuteCommandOptions struct {
Client client2.WorkspaceClient
AddPrivateKeys bool
AgentInject AgentInjectFunc
SSHCommand string
Command string
Log log.Logger
TunnelServerFunc TunnelServerFunc
}
type TunnelLogStreamer ¶
type TunnelLogStreamer struct {
// contains filtered or unexported fields
}
func NewTunnelLogStreamer ¶
func NewTunnelLogStreamer(logger log.Logger) *TunnelLogStreamer
func (*TunnelLogStreamer) Close ¶
func (l *TunnelLogStreamer) Close() error
func (*TunnelLogStreamer) ErrorOutput ¶
func (l *TunnelLogStreamer) ErrorOutput() string
Click to show internal directories.
Click to hide internal directories.