wsl

package
v0.0.0-...-2b5c435 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

package wsl contains the code interacting with the WSL environment.

Index

Constants

View Source
const (
	IS_DISTRO_RUNNING    = IsDistro("--running")
	IS_DISTRO_REGISTERED = IsDistro("--all")
)

Variables

This section is empty.

Functions

func EnsurePodman

func EnsurePodman(distro string, port int) error

EnsurePodman makes sure that the podman server is running. The WSL distribution must already have been registered.

func RegisterWSL

func RegisterWSL(distro, distroPath string, archiveData []byte) error

Types

type IsDistro

type IsDistro string

Jump to

Keyboard shortcuts

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