mirror of https://github.com/hashicorp/packer
Merge pull request #3126 from boumenot/pr-rfc-TransportDecorator
RFC: expose a seam for TransportDecorator.pull/3236/merge
commit
2970038204
@ -1,16 +1,18 @@
|
||||
package winrm
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"time"
|
||||
)
|
||||
|
||||
// Config is used to configure the WinRM connection
|
||||
type Config struct {
|
||||
Host string
|
||||
Port int
|
||||
Username string
|
||||
Password string
|
||||
Timeout time.Duration
|
||||
Https bool
|
||||
Insecure bool
|
||||
Host string
|
||||
Port int
|
||||
Username string
|
||||
Password string
|
||||
Timeout time.Duration
|
||||
Https bool
|
||||
Insecure bool
|
||||
TransportDecorator func(*http.Transport) http.RoundTripper
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue