shell

package
v1.15.1-beta.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetShell

func GetShell(userName string) ([]string, error)

func RunEmulatedShell

func RunEmulatedShell(
	ctx context.Context,
	runner *CommandRunner,
) error

Types

type CommandRunner

type CommandRunner struct {
	Command string
	Environ []string
	Stdin   io.Reader
	Stdout  io.Writer
	Stderr  io.Writer
}

Jump to

Keyboard shortcuts

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