Documentation
¶
Overview ¶
* Copyright (c) 2025 System233 * * This software is released under the MIT License. * https://opensource.org/licenses/MIT
Index ¶
- Constants
- Variables
- func CreateExecCommand() *cobra.Command
- func ExecMain(cmd *cobra.Command, args []string) error
- func ExecShell() error
- func ExecSystem() error
- func GetExecArgs() []string
- func MountFileSystem() error
- func NewPtyFromFlags() *pty.Pty
- func PivotRootSystem() error
- func StartMountFileSystem() error
Constants ¶
View Source
const ExecCommandHelp = `` /* 2640-byte string literal not displayed */
Variables ¶
View Source
var ExecFlag struct { Mounts []string // UidMappings []string // GidMappings []string UID int GID int Args []string RootFS string Socket string SocketTimeout time.Duration AutoExit bool Root bool Wait bool WaitTimeout time.Duration NoFail bool NoBindRootFS bool NsEnter bool NsType []string FuseOverlayFS string FuseOverlayFSArgs string }
Functions ¶
func CreateExecCommand ¶
func ExecSystem ¶
func ExecSystem() error
func GetExecArgs ¶
func GetExecArgs() []string
func MountFileSystem ¶
func MountFileSystem() error
func NewPtyFromFlags ¶
func PivotRootSystem ¶
func PivotRootSystem() error
func StartMountFileSystem ¶
func StartMountFileSystem() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.