Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteCommand ¶
func ExecuteCommand(opts ExecuteCommandOptions) (*config2.Result, error)
ExecuteCommand runs the command in an SSH Tunnel and returns the result.
Types ¶
type AgentInjectFunc ¶
type ExecuteCommandOptions ¶ added in v0.12.8
type ExecuteCommandOptions struct {
Ctx context.Context
Client client2.WorkspaceClient
AddPrivateKeys bool
AgentInject AgentInjectFunc
SSHCommand string
Command string
Log log.Logger
TunnelServerFunc TunnelServerFunc
}
type TunnelLogStreamer ¶ added in v0.9.1
type TunnelLogStreamer struct {
// contains filtered or unexported fields
}
func NewTunnelLogStreamer ¶ added in v0.9.1
func NewTunnelLogStreamer(logger log.Logger) *TunnelLogStreamer
func (*TunnelLogStreamer) Close ¶ added in v0.9.1
func (l *TunnelLogStreamer) Close() error
func (*TunnelLogStreamer) ErrorOutput ¶ added in v0.9.1
func (l *TunnelLogStreamer) ErrorOutput() string
Click to show internal directories.
Click to hide internal directories.