Versions in this module Expand all Collapse all v0 v0.5.2 Feb 22, 2014 v0.5.1 Jan 2, 2014 Changes in this version type ESX5Driver + func (d *ESX5Driver) String() string v0.5.0 Dec 30, 2013 Changes in this version + const BuilderIdESX + const DefaultVMXTemplate + const KeyLeftShift + func NewDriver(config *config) (vmwcommon.Driver, error) + type Artifact struct + func (*Artifact) Id() string + func (a *Artifact) BuilderId() string + func (a *Artifact) Destroy() error + func (a *Artifact) Files() []string + func (a *Artifact) String() string + type Builder struct + func (b *Builder) Cancel() + func (b *Builder) Prepare(raws ...interface{}) ([]string, error) + func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packer.Artifact, error) + type ESX5Driver struct + Datastore string + Host string + Password string + Port uint + Username string + func (d *ESX5Driver) Clone(dst, src string) error + func (d *ESX5Driver) CompactDisk(diskPathLocal string) error + func (d *ESX5Driver) CreateDisk(diskPathLocal string, size string, typeId string) error + func (d *ESX5Driver) DhcpLeasesPath(string) string + func (d *ESX5Driver) DirExists() (bool, error) + func (d *ESX5Driver) HostIP() (string, error) + func (d *ESX5Driver) IsRunning(vmxPathLocal string) (bool, error) + func (d *ESX5Driver) ListFiles() ([]string, error) + func (d *ESX5Driver) MkdirAll() error + func (d *ESX5Driver) Register(vmxPathLocal string) error + func (d *ESX5Driver) Remove(path string) error + func (d *ESX5Driver) RemoveAll() error + func (d *ESX5Driver) SSHAddress(state multistep.StateBag) (string, error) + func (d *ESX5Driver) SetOutputDir(path string) + func (d *ESX5Driver) Start(vmxPathLocal string, headless bool) error + func (d *ESX5Driver) Stop(vmxPathLocal string) error + func (d *ESX5Driver) SuppressMessages(vmxPath string) error + func (d *ESX5Driver) ToolsIsoPath(string) string + func (d *ESX5Driver) Unregister(vmxPathLocal string) error + func (d *ESX5Driver) UploadISO(localPath string) (string, error) + func (d *ESX5Driver) VNCAddress(portMin, portMax uint) (string, uint) + func (d *ESX5Driver) Verify() error + type HostIPFinder interface + HostIP func() (string, error) + type IfconfigIPFinder struct + Device string + func (f *IfconfigIPFinder) HostIP() (string, error) + type OutputDir interface + DirExists func() (bool, error) + ListFiles func() ([]string, error) + MkdirAll func() error + Remove func(string) error + RemoveAll func() error + SetOutputDir func(string) + type RemoteDriver interface + Register func(string) error + Unregister func(string) error + UploadISO func(string) (string, error) + type RemoteDriverMock struct + RegisterCalled bool + RegisterErr error + RegisterPath string + UnregisterCalled bool + UnregisterErr error + UnregisterPath string + UploadISOCalled bool + UploadISOErr error + UploadISOPath string + UploadISOResult string + func (d *RemoteDriverMock) Register(path string) error + func (d *RemoteDriverMock) Unregister(path string) error + func (d *RemoteDriverMock) UploadISO(path string) (string, error) + type StepRegister struct + func (s *StepRegister) Cleanup(state multistep.StateBag) + func (s *StepRegister) Run(state multistep.StateBag) multistep.StepAction + type VMnetNatConfIPFinder struct + func (*VMnetNatConfIPFinder) HostIP() (string, error) + type VNCAddressFinder interface + VNCAddress func(uint, uint) (string, uint)