Documentation
¶
Index ¶
- Constants
- Variables
- func EnsureDisk(_ context.Context, inst *store.Instance) error
- type LimaVzDriver
- func (l *LimaVzDriver) ApplySnapshot(_ context.Context, _ string) error
- func (l *LimaVzDriver) CanRunGUI() bool
- func (l *LimaVzDriver) ChangeDisplayPassword(_ context.Context, _ string) error
- func (l *LimaVzDriver) CreateDisk(_ context.Context) error
- func (l *LimaVzDriver) CreateSnapshot(_ context.Context, _ string) error
- func (l *LimaVzDriver) DeleteSnapshot(_ context.Context, _ string) error
- func (l *LimaVzDriver) ForwardGuestAgent() bool
- func (l *LimaVzDriver) GetDisplayConnection(_ context.Context) (string, error)
- func (l *LimaVzDriver) GuestAgentConn(_ context.Context) (net.Conn, error)
- func (l *LimaVzDriver) Initialize(_ context.Context) error
- func (l *LimaVzDriver) ListSnapshots(_ context.Context) (string, error)
- func (l *LimaVzDriver) Register(_ context.Context) error
- func (l *LimaVzDriver) RunGUI() error
- func (l *LimaVzDriver) Start(_ context.Context) (chan error, error)
- func (l *LimaVzDriver) Stop(_ context.Context) error
- func (l *LimaVzDriver) Unregister(_ context.Context) error
- func (l *LimaVzDriver) VSockPort() int
- func (l *LimaVzDriver) Validate() error
- func (l *LimaVzDriver) VirtioPort() string
Constants ¶
View Source
const Enabled = false
Variables ¶
View Source
var ErrUnsupported = errors.New("vm driver 'vz' needs macOS 13 or later (Hint: try recompiling Lima if you are seeing this error on macOS 13)")
Functions ¶
Types ¶
type LimaVzDriver ¶
type LimaVzDriver struct { Instance *store.Instance SSHLocalPort int // contains filtered or unexported fields }
func (*LimaVzDriver) ApplySnapshot ¶
func (l *LimaVzDriver) ApplySnapshot(_ context.Context, _ string) error
func (*LimaVzDriver) CanRunGUI ¶
func (l *LimaVzDriver) CanRunGUI() bool
func (*LimaVzDriver) ChangeDisplayPassword ¶
func (l *LimaVzDriver) ChangeDisplayPassword(_ context.Context, _ string) error
func (*LimaVzDriver) CreateDisk ¶
func (l *LimaVzDriver) CreateDisk(_ context.Context) error
func (*LimaVzDriver) CreateSnapshot ¶
func (l *LimaVzDriver) CreateSnapshot(_ context.Context, _ string) error
func (*LimaVzDriver) DeleteSnapshot ¶
func (l *LimaVzDriver) DeleteSnapshot(_ context.Context, _ string) error
func (*LimaVzDriver) ForwardGuestAgent ¶
func (l *LimaVzDriver) ForwardGuestAgent() bool
func (*LimaVzDriver) GetDisplayConnection ¶
func (l *LimaVzDriver) GetDisplayConnection(_ context.Context) (string, error)
func (*LimaVzDriver) GuestAgentConn ¶
func (*LimaVzDriver) Initialize ¶
func (l *LimaVzDriver) Initialize(_ context.Context) error
func (*LimaVzDriver) ListSnapshots ¶
func (l *LimaVzDriver) ListSnapshots(_ context.Context) (string, error)
func (*LimaVzDriver) RunGUI ¶
func (l *LimaVzDriver) RunGUI() error
func (*LimaVzDriver) Unregister ¶
func (l *LimaVzDriver) Unregister(_ context.Context) error
func (*LimaVzDriver) VSockPort ¶
func (l *LimaVzDriver) VSockPort() int
func (*LimaVzDriver) Validate ¶
func (l *LimaVzDriver) Validate() error
func (*LimaVzDriver) VirtioPort ¶
func (l *LimaVzDriver) VirtioPort() string
Click to show internal directories.
Click to hide internal directories.