multipass

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() vm.VM

Types

type Multipass

type Multipass struct {
	sync.Mutex
}

func (*Multipass) Create

func (m *Multipass) Create(name string, config *vm.Config) error

func (*Multipass) Delete

func (m *Multipass) Delete(name string) error

func (*Multipass) InstanceOf

func (m *Multipass) InstanceOf() string

func (*Multipass) IsExist

func (m *Multipass) IsExist(name string) (bool, error)

func (*Multipass) IsRunning

func (m *Multipass) IsRunning(name string) (bool, error)

func (*Multipass) List

func (m *Multipass) List() ([]string, error)

func (*Multipass) Mount

func (m *Multipass) Mount(name string, src string, vmName string, dst string) error

func (*Multipass) Start

func (m *Multipass) Start(name string) error

func (*Multipass) Stop

func (m *Multipass) Stop(name string) error

func (*Multipass) Unmount

func (m *Multipass) Unmount(name string, dst string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL