17 lines
434 B
Go
17 lines
434 B
Go
|
package vmware
|
||
|
|
||
|
type RemoteDriver interface {
|
||
|
Driver
|
||
|
|
||
|
// UploadISO uploads a local ISO to the remote side and returns the
|
||
|
// new path that should be used in the VMX along with an error if it
|
||
|
// exists.
|
||
|
UploadISO(string) (string, error)
|
||
|
|
||
|
// Adds a VM to inventory specified by the path to the VMX given.
|
||
|
Register(string) error
|
||
|
|
||
|
// Removes a VM from inventory specified by the path to the VMX given.
|
||
|
Unregister(string) error
|
||
|
}
|