Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XShell ¶
type XShell struct {
// contains filtered or unexported fields
}
XShell exports chroot-ed shells.
func (*XShell) Shell ¶
Shell starts a new shell in a chroot and returns a cross-interface to its standard input, output and error.
func (*XShell) ShellInteractive ¶
ShellInteractive starts a new interactive shell in a chroot and returns a cross-interface to its pseudo-terminal.
type YShell ¶
YShell facilitates cross-calls to a XShell on the client side
func (YShell) Shell ¶
func (y YShell) Shell() (stdin io.WriteCloser, stdout, stderr io.ReadCloser, err error)
func (YShell) Tail ¶
func (y YShell) Tail(name string, arg ...string) (stdin io.WriteCloser, stdout, stderr io.ReadCloser, err error)
Click to show internal directories.
Click to hide internal directories.