Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandError ¶
type CommandError struct { Host string Msg string Code int Command string // contains filtered or unexported fields }
func (CommandError) Error ¶
func (e CommandError) Error() string
func (CommandError) NotFound ¶
func (e CommandError) NotFound() bool
func (CommandError) Unwrap ¶
func (e CommandError) Unwrap() error
type SessionOption ¶
type SessionOption func(o *sessionOptions)
func WithPty ¶
func WithPty() SessionOption
func WithStderr ¶
func WithStderr(w io.Writer) SessionOption
func WithStdin ¶
func WithStdin(r io.Reader) SessionOption
func WithStdout ¶
func WithStdout(w io.Writer) SessionOption
Click to show internal directories.
Click to hide internal directories.