Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeTerminalHelper
- func (fake *FakeTerminalHelper) GetFdInfo(in interface{}) (fd uintptr, isTerminal bool)
- func (fake *FakeTerminalHelper) GetFdInfoArgsForCall(i int) interface{}
- func (fake *FakeTerminalHelper) GetFdInfoCallCount() int
- func (fake *FakeTerminalHelper) GetFdInfoReturns(result1 uintptr, result2 bool)
- func (fake *FakeTerminalHelper) GetWinsize(fd uintptr) (*term.Winsize, error)
- func (fake *FakeTerminalHelper) GetWinsizeArgsForCall(i int) uintptr
- func (fake *FakeTerminalHelper) GetWinsizeCallCount() int
- func (fake *FakeTerminalHelper) GetWinsizeReturns(result1 *term.Winsize, result2 error)
- func (fake *FakeTerminalHelper) IsTerminal(fd uintptr) bool
- func (fake *FakeTerminalHelper) IsTerminalArgsForCall(i int) uintptr
- func (fake *FakeTerminalHelper) IsTerminalCallCount() int
- func (fake *FakeTerminalHelper) IsTerminalReturns(result1 bool)
- func (fake *FakeTerminalHelper) RestoreTerminal(fd uintptr, state *term.State) error
- func (fake *FakeTerminalHelper) RestoreTerminalArgsForCall(i int) (uintptr, *term.State)
- func (fake *FakeTerminalHelper) RestoreTerminalCallCount() int
- func (fake *FakeTerminalHelper) RestoreTerminalReturns(result1 error)
- func (fake *FakeTerminalHelper) SetRawTerminal(fd uintptr) (*term.State, error)
- func (fake *FakeTerminalHelper) SetRawTerminalArgsForCall(i int) uintptr
- func (fake *FakeTerminalHelper) SetRawTerminalCallCount() int
- func (fake *FakeTerminalHelper) SetRawTerminalReturns(result1 *term.State, result2 error)
- func (fake *FakeTerminalHelper) StdStreams() (stdin io.ReadCloser, stdout io.Writer, stderr io.Writer)
- func (fake *FakeTerminalHelper) StdStreamsCallCount() int
- func (fake *FakeTerminalHelper) StdStreamsReturns(result1 io.ReadCloser, result2 io.Writer, result3 io.Writer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeTerminalHelper ¶
type FakeTerminalHelper struct { StdStreamsStub func() (stdin io.ReadCloser, stdout io.Writer, stderr io.Writer) GetFdInfoStub func(in interface{}) (fd uintptr, isTerminal bool) SetRawTerminalStub func(fd uintptr) (*term.State, error) RestoreTerminalStub func(fd uintptr, state *term.State) error IsTerminalStub func(fd uintptr) bool GetWinsizeStub func(fd uintptr) (*term.Winsize, error) // contains filtered or unexported fields }
func (*FakeTerminalHelper) GetFdInfo ¶
func (fake *FakeTerminalHelper) GetFdInfo(in interface{}) (fd uintptr, isTerminal bool)
func (*FakeTerminalHelper) GetFdInfoArgsForCall ¶
func (fake *FakeTerminalHelper) GetFdInfoArgsForCall(i int) interface{}
func (*FakeTerminalHelper) GetFdInfoCallCount ¶
func (fake *FakeTerminalHelper) GetFdInfoCallCount() int
func (*FakeTerminalHelper) GetFdInfoReturns ¶
func (fake *FakeTerminalHelper) GetFdInfoReturns(result1 uintptr, result2 bool)
func (*FakeTerminalHelper) GetWinsize ¶
func (fake *FakeTerminalHelper) GetWinsize(fd uintptr) (*term.Winsize, error)
func (*FakeTerminalHelper) GetWinsizeArgsForCall ¶
func (fake *FakeTerminalHelper) GetWinsizeArgsForCall(i int) uintptr
func (*FakeTerminalHelper) GetWinsizeCallCount ¶
func (fake *FakeTerminalHelper) GetWinsizeCallCount() int
func (*FakeTerminalHelper) GetWinsizeReturns ¶
func (fake *FakeTerminalHelper) GetWinsizeReturns(result1 *term.Winsize, result2 error)
func (*FakeTerminalHelper) IsTerminal ¶
func (fake *FakeTerminalHelper) IsTerminal(fd uintptr) bool
func (*FakeTerminalHelper) IsTerminalArgsForCall ¶
func (fake *FakeTerminalHelper) IsTerminalArgsForCall(i int) uintptr
func (*FakeTerminalHelper) IsTerminalCallCount ¶
func (fake *FakeTerminalHelper) IsTerminalCallCount() int
func (*FakeTerminalHelper) IsTerminalReturns ¶
func (fake *FakeTerminalHelper) IsTerminalReturns(result1 bool)
func (*FakeTerminalHelper) RestoreTerminal ¶
func (fake *FakeTerminalHelper) RestoreTerminal(fd uintptr, state *term.State) error
func (*FakeTerminalHelper) RestoreTerminalArgsForCall ¶
func (fake *FakeTerminalHelper) RestoreTerminalArgsForCall(i int) (uintptr, *term.State)
func (*FakeTerminalHelper) RestoreTerminalCallCount ¶
func (fake *FakeTerminalHelper) RestoreTerminalCallCount() int
func (*FakeTerminalHelper) RestoreTerminalReturns ¶
func (fake *FakeTerminalHelper) RestoreTerminalReturns(result1 error)
func (*FakeTerminalHelper) SetRawTerminal ¶
func (fake *FakeTerminalHelper) SetRawTerminal(fd uintptr) (*term.State, error)
func (*FakeTerminalHelper) SetRawTerminalArgsForCall ¶
func (fake *FakeTerminalHelper) SetRawTerminalArgsForCall(i int) uintptr
func (*FakeTerminalHelper) SetRawTerminalCallCount ¶
func (fake *FakeTerminalHelper) SetRawTerminalCallCount() int
func (*FakeTerminalHelper) SetRawTerminalReturns ¶
func (fake *FakeTerminalHelper) SetRawTerminalReturns(result1 *term.State, result2 error)
func (*FakeTerminalHelper) StdStreams ¶
func (fake *FakeTerminalHelper) StdStreams() (stdin io.ReadCloser, stdout io.Writer, stderr io.Writer)
func (*FakeTerminalHelper) StdStreamsCallCount ¶
func (fake *FakeTerminalHelper) StdStreamsCallCount() int
func (*FakeTerminalHelper) StdStreamsReturns ¶
func (fake *FakeTerminalHelper) StdStreamsReturns(result1 io.ReadCloser, result2 io.Writer, result3 io.Writer)
Click to show internal directories.
Click to hide internal directories.