Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
    const BuilderId = "mitchellh.virtualbox"
    
      View Source
      
  
const KeyLeftShift uint32 = 0xFFE1
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
type Artifact struct {
	// contains filtered or unexported fields
}
    Artifact is the result of running the VirtualBox builder, namely a set of files associated with the resulting machine.
type Driver ¶
type Driver interface {
	// Checks if the VM with the given name is running.
	IsRunning(string) (bool, error)
	// Stop stops a running machine, forcefully.
	Stop(string) error
	// SuppressMessages should do what needs to be done in order to
	// suppress any annoying popups from VirtualBox.
	SuppressMessages() error
	// VBoxManage executes the given VBoxManage command
	VBoxManage(...string) error
	// Verify checks to make sure that this driver should function
	// properly. If there is any indication the driver can't function,
	// this will return an error.
	Verify() error
	// Version reads the version of VirtualBox that is installed.
	Version() (string, error)
}
    A driver is able to talk to VirtualBox and perform certain operations with it.
type VBox42Driver ¶
type VBox42Driver struct {
	// This is the path to the "VBoxManage" application.
	VBoxManagePath string
}
    func (*VBox42Driver) Stop ¶
func (d *VBox42Driver) Stop(name string) error
func (*VBox42Driver) SuppressMessages ¶
func (d *VBox42Driver) SuppressMessages() error
func (*VBox42Driver) VBoxManage ¶
func (d *VBox42Driver) VBoxManage(args ...string) error
func (*VBox42Driver) Verify ¶
func (d *VBox42Driver) Verify() error
func (*VBox42Driver) Version ¶
func (d *VBox42Driver) Version() (string, error)
      
      Source Files
      ¶
    
- artifact.go
 - builder.go
 - driver.go
 - ssh.go
 - step_attach_floppy.go
 - step_attach_guest_additions.go
 - step_attach_iso.go
 - step_create_disk.go
 - step_create_vm.go
 - step_download_guest_additions.go
 - step_export.go
 - step_forward_ssh.go
 - step_http_server.go
 - step_prepare_output_dir.go
 - step_run.go
 - step_shutdown.go
 - step_suppress_messages.go
 - step_type_boot_command.go
 - step_upload_guest_additions.go
 - step_upload_version.go
 - step_vboxmanage.go
 
 Click to show internal directories. 
   Click to hide internal directories.