Documentation
¶
Overview ¶
Package termshell builds the command for an interactive container/pod shell.
Index ¶
Constants ¶
View Source
const Launch = `` /* 416-byte string literal not displayed */
Launch prefers an interactive bash (most images ship it) and falls back to POSIX sh. It sets a sane TERM and, since minimal images carry no terminfo, aliases clear/reset to raw ANSI so screen-clearing works regardless. When the container runs as a UID with no /etc/passwd entry (arbitrary-UID images), it names the user so prompts/tools don't report "I have no name!".
Variables ¶
This section is empty.
Functions ¶
func Command ¶
Command resolves an exec command. An explicit request runs verbatim (split on whitespace); otherwise a TTY session gets the friendly interactive shell and a non-TTY session a plain shell.
func DisplayError ¶
func MissingExecutableError ¶
func WriteExecError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.