Documentation ¶
Overview ¶
Package winrm implements the WinRM communicator. Plugin maintainers should not import this package directly, instead using the tooling in the "packer-plugin-sdk/communicator" module.
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 *packersdk.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 ¶
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 ¶
func (c *Communicator) DownloadDir(src string, dst string, exclude []string) error
Click to show internal directories.
Click to hide internal directories.