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 = true

Variables

This section is empty.

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) CanRunGUI

func (l *LimaWslDriver) CanRunGUI() bool

Requires WSLg, which requires specific version of WSL2 to be installed. TODO: Add check and add support for WSLg (instead of VNC) to hostagent.

func (*LimaWslDriver) RunGUI

func (l *LimaWslDriver) RunGUI() error

func (*LimaWslDriver) Start

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

func (*LimaWslDriver) Stop

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

func (*LimaWslDriver) Unregister

func (l *LimaWslDriver) Unregister(ctx 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