{"modulePath":"code.cloudfoundry.org/cfdev","version":"v0.0.14","isLatest":false,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package hypervisor\n\n## Constants\n\n```go\nconst LinuxKitLabel = \"org.cloudfoundry.cfdev.linuxkit\"\n```\n\n## Types\n\n```go\ntype DaemonRunner interface {\n\tAddDaemon(daemon.DaemonSpec) error\n\tRemoveDaemon(string) error\n\tStart(string) error\n\tStop(string) error\n\tIsRunning(string) (bool, error)\n}\n```\n\n```go\ntype HyperV struct {\n\tConfig     config.Config\n\tPowershell runner.Powershell\n}\n```\n\n```go\nfunc (h *HyperV) CreateVM(vm VM) error\n```\n\n```go\nfunc (h *HyperV) Destroy(vmName string) error\n```\n\n```go\nfunc (h *HyperV) IsRunning(vmName string) (bool, error)\n```\n\n```go\nfunc (h *HyperV) Start(vmName string) error\n```\n\n```go\nfunc (h *HyperV) Stop(vmName string) error\n```\n\n```go\ntype LinuxKit struct {\n\tConfig       config.Config\n\tDaemonRunner DaemonRunner\n}\n```\n\n```go\nfunc (l *LinuxKit) CreateVM(vm VM) error\n```\n\n```go\nfunc (l *LinuxKit) DaemonSpec(cpus, mem int) (daemon.DaemonSpec, error)\n```\n\n```go\nfunc (l *LinuxKit) Destroy(vmName string) error\n```\n\n```go\nfunc (l *LinuxKit) IsRunning(vmName string) (bool, error)\n```\n\n```go\nfunc (l *LinuxKit) Start(vmName string) error\n```\n\n```go\nfunc (l *LinuxKit) Stop(vmName string) error\n```\n\n```go\nfunc (l *LinuxKit) Watch(exit chan string)\n```\n\n```go\ntype UI interface {\n\tSay(message string, args ...interface{})\n\tWriter() io.Writer\n}\n```\n\n```go\ntype VM struct {\n\tName     string\n\tMemoryMB int\n\tCPUs     int\n}\n```\n\n","path":"code.cloudfoundry.org/cfdev/hypervisor","name":"hypervisor","synopsis":"","isRedistributable":true}
