Documentation ¶ Index ¶ func New(opts ...Option) *client type Option func Auth(username, password string) Option func Cert(cert, key, ca []byte, serverName string) Option func Host(ip string, port int) Option func Insecure(b bool) Option func IsHTTPs(b bool) Option func Timeout(t time.Duration) Option type Options Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(opts ...Option) *client Types ¶ type Option ¶ type Option func(*Options) func Auth ¶ func Auth(username, password string) Option func Cert ¶ func Cert(cert, key, ca []byte, serverName string) Option func Host ¶ func Host(ip string, port int) Option func Insecure ¶ func Insecure(b bool) Option func IsHTTPs ¶ func IsHTTPs(b bool) Option func Timeout ¶ func Timeout(t time.Duration) Option type Options ¶ type Options struct { winrm.Endpoint // contains filtered or unexported fields } Source Files ¶ View all Source files io.go ls.go options.go path.go psobject.go winrm.go Click to show internal directories. Click to hide internal directories.