Versions in this module Expand all Collapse all v0 v0.1.5 Sep 9, 2026 v0.1.4 Sep 3, 2026 Changes in this version type Fake + func (f *Fake) Ping(ctx context.Context) error v0.1.3 Aug 31, 2026 v0.1.2 Aug 27, 2026 v0.1.1 Aug 27, 2026 Changes in this version + type Fake struct + Respond func(line string) *sshrunner.Result + StartErr error + Started []*Session + func (f *Fake) Close() error + func (f *Fake) Contexts() []context.Context + func (f *Fake) Dial(context.Context, string, string) (net.Conn, error) + func (f *Fake) Files(context.Context) (sshrunner.Files, error) + func (f *Fake) Lines() []string + func (f *Fake) Options() []*sshrunner.StartOptions + func (f *Fake) Run(ctx context.Context, line string, _ io.Reader) (*sshrunner.Result, error) + func (f *Fake) Start(ctx context.Context, line string, opts *sshrunner.StartOptions) (sshrunner.Session, error) + type Session struct + Code int + Err string + Hold <-chan struct{} + Out string + func (s *Session) Close() error + func (s *Session) Closed() bool + func (s *Session) In() string + func (s *Session) Resize(uint, uint) error + func (s *Session) Stderr() io.ReadCloser + func (s *Session) Stdin() io.WriteCloser + func (s *Session) Stdout() io.ReadCloser + func (s *Session) Wait() (int, error)