environment

package
v1.25.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DDEVEnvironmentDarwin          = "darwin"
	DDEVEnvironmentWindows         = "windows"
	DDEVEnvironmentLinux           = "linux"
	DDEVEnvironmentWSL2            = "wsl2"
	DDEVEnvironmentWSL2Mirrored    = "wsl2-mirrored"
	DDEVEnvironmentWSL2VirtioProxy = "wsl2-virtioproxy"
	DDEVEnvironmentWSL2None        = "wsl2-none"
	DDEVEnvironmentWSL2Bridged     = "wsl2-bridged"
	DDEVEnvironmentCodespaces      = "codespaces"
	DDEVEnvironmentDevcontainer    = "devcontainer"
)

Variables

This section is empty.

Functions

func GetDDEVEnvironment

func GetDDEVEnvironment() string

GetDDEVEnvironment returns the type of environment DDEV is being used in

func IsWSL2Environment added in v1.25.2

func IsWSL2Environment(envType string) bool

IsWSL2Environment returns true for any DDEV environment string that represents a WSL2 mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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