winrm

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL