wsl2

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Enabled = false

Variables

View Source
var ErrUnsupported = errors.New("vm driver 'wsl2' requires Windows 10 build 19041 or later (Hint: try recompiling Lima if you are seeing this error on Windows 10+)")

Functions

func EnsureFs

func EnsureFs(driver *driver.BaseDriver) error

EnsureFs downloads the root fs.

Types

type LimaWslDriver

type LimaWslDriver struct {
	*driver.BaseDriver
}

func New

func New(driver *driver.BaseDriver) *LimaWslDriver

func (*LimaWslDriver) CreateDisk

func (l *LimaWslDriver) CreateDisk() error

func (*LimaWslDriver) Start

func (l *LimaWslDriver) Start(_ context.Context) (chan error, error)

func (*LimaWslDriver) Stop

func (l *LimaWslDriver) Stop(_ context.Context) error

func (*LimaWslDriver) Validate

func (l *LimaWslDriver) Validate() error

Jump to

Keyboard shortcuts

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