Documentation
¶
Index ¶
- func New(cfg config.Config, daemonRunner driver.DaemonRunner, ui driver.UI, ...) driver.Driver
- type HyperV
- func (d *HyperV) AddLoopbackAliases(switchName string, addrs ...string) error
- func (d *HyperV) CheckRequirements() error
- func (d *HyperV) CreateVM(name string, cpus int, memory int, efiPath string) (string, error)
- func (d *HyperV) DestroyVM(vmName string) error
- func (d *HyperV) IsRunning() (bool, error)
- func (d *HyperV) IsVMRunning(vmName string) (bool, error)
- func (d *HyperV) Prestart() error
- func (d *HyperV) RemoveLoopbackAliases(switchName string, addrs ...string) error
- func (d *HyperV) SetupNetworking() error
- func (d *HyperV) Start(cpus int, memory int, efiPath string) error
- func (d *HyperV) StartVM(vmName string) error
- func (d *HyperV) Stop() error
- func (d *HyperV) StopVM(vmName string) error
- type Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HyperV ¶
type HyperV struct { UI driver.UI Config config.Config DaemonRunner driver.DaemonRunner Powershell Runner EthernetGUID string PortGUID string ForwarderGUID string }
func (*HyperV) AddLoopbackAliases ¶
func (*HyperV) CheckRequirements ¶
func (*HyperV) RemoveLoopbackAliases ¶
func (*HyperV) SetupNetworking ¶
Click to show internal directories.
Click to hide internal directories.