Documentation
¶
Index ¶
- Constants
- func BareMetal(name string) bool
- func Choices() []registry.DriverState
- func Choose(options []registry.DriverState) (registry.DriverState, []registry.DriverState)
- func InstallOrUpdate(name string, directory string, v semver.Version, interactive bool, ...) error
- func Status(name string) registry.State
- func Supported(name string) bool
- func SupportedDrivers() []string
- func VBoxManagePath() string
- type FlagHints
Constants ¶
View Source
const ( Mock = "mock" None = "none" KVM2 = "kvm2" VirtualBox = "virtualbox" HyperKit = "hyperkit" VMware = "vmware" VMwareFusion = "vmwarefusion" HyperV = "hyperv" Parallels = "parallels" )
Variables ¶
This section is empty.
Functions ¶
func Choices ¶
func Choices() []registry.DriverState
Choices returns a list of drivers which are possible on this system
func Choose ¶
func Choose(options []registry.DriverState) (registry.DriverState, []registry.DriverState)
Choose returns a suggested driver from a set of options
func InstallOrUpdate ¶
func InstallOrUpdate(name string, directory string, v semver.Version, interactive bool, autoUpdate bool) error
InstallOrUpdate downloads driver if it is not present, or updates it if there's a newer version
func SupportedDrivers ¶
func SupportedDrivers() []string
SupportedDrivers returns a list of supported drivers
func VBoxManagePath ¶
func VBoxManagePath() string
Types ¶
Click to show internal directories.
Click to hide internal directories.