{"modulePath":"code.cloudfoundry.org/cfdev","version":"v0.0.18","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package hyperv\n\n## Functions\n\n```go\nfunc New(\n\tcfg config.Config,\n\tdaemonRunner driver.DaemonRunner,\n\tui driver.UI,\n\tpowershell Runner,\n\tethernetGUID string,\n\tportGUID string,\n\tforwarderGUID string,\n) driver.Driver\n```\n\n## Types\n\n```go\ntype HyperV struct {\n\tUI            driver.UI\n\tConfig        config.Config\n\tDaemonRunner  driver.DaemonRunner\n\tPowershell    Runner\n\tEthernetGUID  string\n\tPortGUID      string\n\tForwarderGUID string\n}\n```\n\n```go\nfunc (d *HyperV) AddLoopbackAliases(switchName string, addrs ...string) error\n```\n\n```go\nfunc (d *HyperV) CheckRequirements() error\n```\n\n```go\nfunc (d *HyperV) CreateVM(name string, cpus int, memory int, efiPath string) (string, error)\n```\n\n```go\nfunc (d *HyperV) DestroyVM(vmName string) error\n```\n\n```go\nfunc (d *HyperV) IsRunning() (bool, error)\n```\n\n```go\nfunc (d *HyperV) IsVMRunning(vmName string) (bool, error)\n```\n\n```go\nfunc (d *HyperV) Prestart() error\n```\n\n```go\nfunc (d *HyperV) RemoveLoopbackAliases(switchName string, addrs ...string) error\n```\n\n```go\nfunc (d *HyperV) SetupNetworking() error\n```\n\n```go\nfunc (d *HyperV) Start(cpus int, memory int, efiPath string) error\n```\n\n```go\nfunc (d *HyperV) StartVM(vmName string) error\n```\n\n```go\nfunc (d *HyperV) Stop() error\n```\n\n```go\nfunc (d *HyperV) StopVM(vmName string) error\n```\n\n```go\ntype Runner interface {\n\tOutput(command string) (string, error)\n}\n```\n\n","path":"code.cloudfoundry.org/cfdev/driver/hyperv","name":"hyperv","synopsis":"","isRedistributable":true}
