Documentation ¶ Index ¶ func ComputeMountTarget(workspacePath string, mode Mode) string type Mode func (m Mode) String() string 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 Source Files ¶ View all Source files mode.go Click to show internal directories. Click to hide internal directories.