You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think plenty of people are using this together with the masterzen/winrm package, which is a dependency of this package too, so there's already code for setting up the winrm client.
The winrmcp package could accept an existing winrm.Client instead of having to set up a new one through winrmcp.New()
Because Winrmcp{}'s config and client are unexported, you can't do something like winrmcp.Winrmcp{client: existingclient, config: winrmcp.Config{....}}.
The text was updated successfully, but these errors were encountered:
I think plenty of people are using this together with the masterzen/winrm package, which is a dependency of this package too, so there's already code for setting up the winrm client.
The winrmcp package could accept an existing
winrm.Client
instead of having to set up a new one throughwinrmcp.New()
Because
Winrmcp{}
'sconfig
andclient
are unexported, you can't do something likewinrmcp.Winrmcp{client: existingclient, config: winrmcp.Config{....}}
.The text was updated successfully, but these errors were encountered: