Documentation ¶
Index ¶
- type Base64Pipe
- type Communicator
- func (c *Communicator) Download(src string, dst io.Writer) error
- func (c *Communicator) DownloadDir(src string, dst string, exclude []string) error
- func (c *Communicator) Start(ctx context.Context, rc *packer.RemoteCmd) error
- func (c *Communicator) Upload(path string, input io.Reader, fi *os.FileInfo) error
- func (c *Communicator) UploadDir(dst string, src string, exclude []string) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base64Pipe ¶ added in v1.0.1
type Base64Pipe struct {
// contains filtered or unexported fields
}
type Communicator ¶
type Communicator struct {
// contains filtered or unexported fields
}
Communicator represents the WinRM communicator
func New ¶
func New(config *Config) (*Communicator, error)
New creates a new communicator implementation over WinRM.
func (*Communicator) DownloadDir ¶ added in v0.9.0
func (c *Communicator) DownloadDir(src string, dst string, exclude []string) error
Click to show internal directories.
Click to hide internal directories.