workspace

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeMountTarget

func ComputeMountTarget(workspacePath string, mode Mode) string

Types

type Mode added in v0.0.3

type Mode int

Mode selects how a container is launched. ModeRootless is rootless Podman with keep-id (workspace mounted at its host absolute path, running as the host user); ModeRootful is the fallback (rootful Docker/Podman, workspace at /workspace, /root home).

const (
	ModeRootless Mode = iota
	ModeRootful
)

func (Mode) String added in v0.0.3

func (m Mode) String() string

Jump to

Keyboard shortcuts

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