workspace

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 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

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

func (Mode) String

func (m Mode) String() string

Jump to

Keyboard shortcuts

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