github.com/sneal/packer@v0.5.2/builder/vmware/iso/remote_driver.go (about)

     1  package iso
     2  
     3  import (
     4  	vmwcommon "github.com/mitchellh/packer/builder/vmware/common"
     5  )
     6  
     7  type RemoteDriver interface {
     8  	vmwcommon.Driver
     9  
    10  	// UploadISO uploads a local ISO to the remote side and returns the
    11  	// new path that should be used in the VMX along with an error if it
    12  	// exists.
    13  	UploadISO(string) (string, error)
    14  
    15  	// Adds a VM to inventory specified by the path to the VMX given.
    16  	Register(string) error
    17  
    18  	// Removes a VM from inventory specified by the path to the VMX given.
    19  	Unregister(string) error
    20  }