winrm

package
v0.0.0-...-c4902e5 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2014 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ElevatedShellTemplate = `` /* 2744-byte string literal not displayed */

Variables

This section is empty.

Functions

func ISO8601DurationString

func ISO8601DurationString(d time.Duration) string

Types

type Communicator

type Communicator struct {
	// contains filtered or unexported fields
}

func New

func New(endpoint *winrm.Endpoint, user string, password string, timeout time.Duration) (*Communicator, error)

Creates a new packer.Communicator implementation over WinRM. Called when Packer tries to connect to WinRM

func (*Communicator) Download

func (c *Communicator) Download(string, io.Writer) error

func (*Communicator) Start

func (c *Communicator) Start(cmd *packer.RemoteCmd) (err error)

func (*Communicator) StartElevated

func (c *Communicator) StartElevated(cmd *packer.RemoteCmd) (err error)

func (*Communicator) StartUnelevated

func (c *Communicator) StartUnelevated(cmd *packer.RemoteCmd) (err error)

func (*Communicator) Upload

func (c *Communicator) Upload(dst string, input io.Reader, ignored *os.FileInfo) error

func (*Communicator) UploadDir

func (c *Communicator) UploadDir(dst string, src string, excl []string) error

Jump to

Keyboard shortcuts

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