Documentation ¶
Index ¶
- type PTY
- func (p *PTY) Close() error
- func (p *PTY) ExpectMatch(str string) string
- func (p *PTY) ExpectMatchContext(ctx context.Context, str string) string
- func (p *PTY) Peek(ctx context.Context, n int) []byte
- func (p *PTY) ReadLine(ctx context.Context) string
- func (p *PTY) ReadRune(ctx context.Context) rune
- func (p *PTY) Write(r rune)
- func (p *PTY) WriteLine(str string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PTY ¶
func (*PTY) ExpectMatch ¶
func (*PTY) ExpectMatchContext ¶
TODO(mafredri): Rename this to ExpectMatch when refactoring.
Click to show internal directories.
Click to hide internal directories.