Versions in this module Expand all Collapse all v0 v0.8.0 May 1, 2026 v0.7.0 Apr 21, 2026 Changes in this version + func PowerShellQuote(token string) string + func ReconstructPowerShellCommand(pipeline *parser.Pipeline) string + func WrapForWinRM(psCommand string) string + type ManagedWinRMConnection struct + Client *winrmClient + Params ssh.ConnectionParams + type WinRMDialer struct + ConnectTimeout time.Duration + func (d *WinRMDialer) Dial(_ context.Context, params ssh.ConnectionParams) (*winrmClient, error) + type WinRMFileClient struct + func NewWinRMFileClient(client *winrmClient) *WinRMFileClient + func (f *WinRMFileClient) Chmod(_ string, _ os.FileMode) error + func (f *WinRMFileClient) Close() error + func (f *WinRMFileClient) Create(path string) (io.WriteCloser, error) + func (f *WinRMFileClient) MkdirAll(path string) error + func (f *WinRMFileClient) Open(path string) (io.ReadCloser, error) + func (f *WinRMFileClient) Stat(path string) (os.FileInfo, error) + type WinRMManager struct + func NewWinRMManager(dialer *WinRMDialer) *WinRMManager + func (m *WinRMManager) Connect(ctx context.Context, params ssh.ConnectionParams) error + func (m *WinRMManager) Disconnect(_ context.Context, host string) error + func (m *WinRMManager) Execute(ctx context.Context, host, command string, timeout time.Duration) (ssh.ExecResult, error) + func (m *WinRMManager) ExecuteRaw(ctx context.Context, host, command string, timeout time.Duration) (ssh.ExecResult, error) + func (m *WinRMManager) SFTPSession(host string) (ssh.SFTPClient, error)