2015-06-14 01:00:40 -04:00
|
|
|
package winrm
|
|
|
|
|
|
|
|
import (
|
2016-03-10 13:47:30 -05:00
|
|
|
"net/http"
|
2015-06-14 01:00:40 -04:00
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Config is used to configure the WinRM connection
|
|
|
|
type Config struct {
|
2016-03-10 13:47:30 -05:00
|
|
|
Host string
|
|
|
|
Port int
|
|
|
|
Username string
|
|
|
|
Password string
|
|
|
|
Timeout time.Duration
|
|
|
|
Https bool
|
|
|
|
Insecure bool
|
|
|
|
TransportDecorator func(*http.Transport) http.RoundTripper
|
2015-06-14 01:00:40 -04:00
|
|
|
}
|