Versions in this module Expand all Collapse all v0 v0.6.0 May 2, 2014 Changes in this version + const BuilderId + const ParallelsToolsModeAttach + const ParallelsToolsModeDisable + const ParallelsToolsModeUpload + func NewArtifact(dir string) (packer.Artifact, error) + func SSHAddress(state multistep.StateBag) (string, error) + func SSHConfigFunc(config SSHConfig) func(multistep.StateBag) (*ssh.ClientConfig, error) + type Driver interface + Import func(string, string, string) error + IpAddress func(string) (string, error) + IsRunning func(string) (bool, error) + Mac func(string) (string, error) + Prlctl func(...string) error + SendKeyScanCodes func(string, ...string) error + Stop func(string) error + Verify func() error + Version func() (string, error) + func NewDriver() (Driver, error) + type DriverMock struct + ImportCalled bool + ImportDstPath string + ImportErr error + ImportName string + ImportSrcPath string + IpAddressError error + IpAddressMac string + IpAddressReturn string + IsRunningErr error + IsRunningName string + IsRunningReturn bool + MacError error + MacName string + MacReturn string + PrlctlCalls [][]string + PrlctlErrs []error + SendKeyScanCodesCalls [][]string + SendKeyScanCodesErrs []error + StopErr error + StopName string + VerifyCalled bool + VerifyErr error + VersionCalled bool + VersionErr error + VersionResult string + func (d *DriverMock) Import(name, srcPath, dstPath string) error + func (d *DriverMock) IpAddress(mac string) (string, error) + func (d *DriverMock) IsRunning(name string) (bool, error) + func (d *DriverMock) Mac(name string) (string, error) + func (d *DriverMock) Prlctl(args ...string) error + func (d *DriverMock) SendKeyScanCodes(name string, scancodes ...string) error + func (d *DriverMock) Stop(name string) error + func (d *DriverMock) Verify() error + func (d *DriverMock) Version() (string, error) + type FloppyConfig struct + FloppyFiles []string + func (c *FloppyConfig) Prepare(t *packer.ConfigTemplate) []error + type OutputConfig struct + OutputDir string + func (c *OutputConfig) Prepare(t *packer.ConfigTemplate, pc *common.PackerConfig) []error + type Parallels9Driver struct + PrlctlPath string + func (d *Parallels9Driver) Import(name, srcPath, dstDir string) error + func (d *Parallels9Driver) IpAddress(mac string) (string, error) + func (d *Parallels9Driver) IsRunning(name string) (bool, error) + func (d *Parallels9Driver) Mac(vmName string) (string, error) + func (d *Parallels9Driver) Prlctl(args ...string) error + func (d *Parallels9Driver) SendKeyScanCodes(vmName string, codes ...string) error + func (d *Parallels9Driver) Stop(name string) error + func (d *Parallels9Driver) Verify() error + func (d *Parallels9Driver) Version() (string, error) + type PrlctlConfig struct + Prlctl [][]string + func (c *PrlctlConfig) Prepare(t *packer.ConfigTemplate) []error + type PrlctlVersionConfig struct + PrlctlVersionFile string + func (c *PrlctlVersionConfig) Prepare(t *packer.ConfigTemplate) []error + type RunConfig struct + BootWait time.Duration + Headless bool + RawBootWait string + func (c *RunConfig) Prepare(t *packer.ConfigTemplate) []error + type SSHConfig struct + RawSSHWaitTimeout string + SSHKeyPath string + SSHPassword string + SSHPort uint + SSHUser string + SSHWaitTimeout time.Duration + func (c *SSHConfig) Prepare(t *packer.ConfigTemplate) []error + type ShutdownConfig struct + RawShutdownTimeout string + ShutdownCommand string + ShutdownTimeout time.Duration + func (c *ShutdownConfig) Prepare(t *packer.ConfigTemplate) []error + type StepAttachFloppy struct + func (s *StepAttachFloppy) Cleanup(state multistep.StateBag) + func (s *StepAttachFloppy) Run(state multistep.StateBag) multistep.StepAction + type StepAttachParallelsTools struct + ParallelsToolsHostPath string + ParallelsToolsMode string + func (s *StepAttachParallelsTools) Cleanup(state multistep.StateBag) + func (s *StepAttachParallelsTools) Run(state multistep.StateBag) multistep.StepAction + type StepOutputDir struct + Force bool + Path string + func (s *StepOutputDir) Cleanup(state multistep.StateBag) + func (s *StepOutputDir) Run(state multistep.StateBag) multistep.StepAction + type StepPrlctl struct + Commands [][]string + Tpl *packer.ConfigTemplate + func (s *StepPrlctl) Cleanup(state multistep.StateBag) + func (s *StepPrlctl) Run(state multistep.StateBag) multistep.StepAction + type StepRemoveDevices struct + func (s *StepRemoveDevices) Cleanup(state multistep.StateBag) + func (s *StepRemoveDevices) Run(state multistep.StateBag) multistep.StepAction + type StepRun struct + BootWait time.Duration + Headless bool + func (s *StepRun) Cleanup(state multistep.StateBag) + func (s *StepRun) Run(state multistep.StateBag) multistep.StepAction + type StepShutdown struct + Command string + Timeout time.Duration + func (s *StepShutdown) Cleanup(state multistep.StateBag) + func (s *StepShutdown) Run(state multistep.StateBag) multistep.StepAction + type StepUploadParallelsTools struct + ParallelsToolsGuestPath string + ParallelsToolsHostPath string + ParallelsToolsMode string + Tpl *packer.ConfigTemplate + func (s *StepUploadParallelsTools) Cleanup(state multistep.StateBag) + func (s *StepUploadParallelsTools) Run(state multistep.StateBag) multistep.StepAction + type StepUploadVersion struct + Path string + func (s *StepUploadVersion) Cleanup(state multistep.StateBag) + func (s *StepUploadVersion) Run(state multistep.StateBag) multistep.StepAction