Versions in this module Expand all Collapse all v4 v4.1.2 Jun 10, 2022 v4.1.1 Jun 10, 2022 Changes in this version + const MountType9p — darwin/amd64, linux/amd64 + const Next — darwin/amd64, linux/amd64 + const Stable — darwin/amd64, linux/amd64 + const Testing — darwin/amd64, linux/amd64 + const VolumeTypeVirtfs — darwin/amd64, linux/amd64 + var QemuCommand = "qemu-system-x86_64" — darwin/amd64, linux/amd64 + func GetQemuProvider() machine.Provider — darwin/amd64, linux/amd64 + type MachineVM struct — darwin/amd64, linux/amd64 + CmdLine []string + ConfigPath machine.VMFile + Created time.Time + LastUp time.Time + Mounts []machine.Mount + Name string + PidFilePath machine.VMFile + QMPMonitor Monitor + ReadySocket machine.VMFile + Starting bool + func (v *MachineVM) Init(opts machine.InitOptions) (bool, error) + func (v *MachineVM) Inspect() (*machine.InspectInfo, error) + func (v *MachineVM) Remove(_ string, opts machine.RemoveOptions) (string, func() error, error) + func (v *MachineVM) SSH(_ string, opts machine.SSHOptions) error + func (v *MachineVM) Set(_ string, opts machine.SetOptions) ([]error, error) + func (v *MachineVM) Start(name string, _ machine.StartOptions) error + func (v *MachineVM) State(bypass bool) (machine.Status, error) + func (v *MachineVM) Stop(_ string, _ machine.StopOptions) error + type MachineVMV1 struct — darwin/amd64, linux/amd64 + CPUs uint64 + CmdLine []string + DiskSize uint64 + IdentityPath string + IgnitionFilePath string + ImagePath string + ImageStream string + Memory uint64 + Mounts []machine.Mount + Name string + Port int + QMPMonitor Monitorv1 + RemoteUsername string + Rootful bool + UID int + type Monitor struct — darwin/amd64, linux/amd64 + Address machine.VMFile + Network string + Timeout time.Duration + func NewQMPMonitor(network, name string, timeout time.Duration) (Monitor, error) + type Monitorv1 struct — darwin/amd64, linux/amd64 + Address string + Network string + Timeout time.Duration + type Provider struct — darwin/amd64, linux/amd64 + func (p *Provider) CheckExclusiveActiveVM() (bool, string, error) + func (p *Provider) IsValidVMName(name string) (bool, error) + func (p *Provider) List(_ machine.ListOptions) ([]*machine.ListResponse, error) + func (p *Provider) LoadVMByName(name string) (machine.VM, error) + func (p *Provider) NewMachine(opts machine.InitOptions) (machine.VM, error) + func (p *Provider) RemoveAndCleanMachines() error