terminalfakes

package
v6.47.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeTerminalHelper

type FakeTerminalHelper struct {
	GetFdInfoStub func(interface{}) (uintptr, bool)

	GetWinsizeStub func(uintptr) (*term.Winsize, error)

	IsTerminalStub func(uintptr) bool

	RestoreTerminalStub func(uintptr, *term.State) error

	SetRawTerminalStub func(uintptr) (*term.State, error)

	StdStreamsStub func() (io.ReadCloser, io.Writer, io.Writer)
	// contains filtered or unexported fields
}

func (*FakeTerminalHelper) GetFdInfo

func (fake *FakeTerminalHelper) GetFdInfo(arg1 interface{}) (uintptr, bool)

func (*FakeTerminalHelper) GetFdInfoArgsForCall

func (fake *FakeTerminalHelper) GetFdInfoArgsForCall(i int) interface{}

func (*FakeTerminalHelper) GetFdInfoCallCount

func (fake *FakeTerminalHelper) GetFdInfoCallCount() int

func (*FakeTerminalHelper) GetFdInfoCalls

func (fake *FakeTerminalHelper) GetFdInfoCalls(stub func(interface{}) (uintptr, bool))

func (*FakeTerminalHelper) GetFdInfoReturns

func (fake *FakeTerminalHelper) GetFdInfoReturns(result1 uintptr, result2 bool)

func (*FakeTerminalHelper) GetFdInfoReturnsOnCall

func (fake *FakeTerminalHelper) GetFdInfoReturnsOnCall(i int, result1 uintptr, result2 bool)

func (*FakeTerminalHelper) GetWinsize

func (fake *FakeTerminalHelper) GetWinsize(arg1 uintptr) (*term.Winsize, error)

func (*FakeTerminalHelper) GetWinsizeArgsForCall

func (fake *FakeTerminalHelper) GetWinsizeArgsForCall(i int) uintptr

func (*FakeTerminalHelper) GetWinsizeCallCount

func (fake *FakeTerminalHelper) GetWinsizeCallCount() int

func (*FakeTerminalHelper) GetWinsizeCalls

func (fake *FakeTerminalHelper) GetWinsizeCalls(stub func(uintptr) (*term.Winsize, error))

func (*FakeTerminalHelper) GetWinsizeReturns

func (fake *FakeTerminalHelper) GetWinsizeReturns(result1 *term.Winsize, result2 error)

func (*FakeTerminalHelper) GetWinsizeReturnsOnCall

func (fake *FakeTerminalHelper) GetWinsizeReturnsOnCall(i int, result1 *term.Winsize, result2 error)

func (*FakeTerminalHelper) Invocations

func (fake *FakeTerminalHelper) Invocations() map[string][][]interface{}

func (*FakeTerminalHelper) IsTerminal

func (fake *FakeTerminalHelper) IsTerminal(arg1 uintptr) bool

func (*FakeTerminalHelper) IsTerminalArgsForCall

func (fake *FakeTerminalHelper) IsTerminalArgsForCall(i int) uintptr

func (*FakeTerminalHelper) IsTerminalCallCount

func (fake *FakeTerminalHelper) IsTerminalCallCount() int

func (*FakeTerminalHelper) IsTerminalCalls

func (fake *FakeTerminalHelper) IsTerminalCalls(stub func(uintptr) bool)

func (*FakeTerminalHelper) IsTerminalReturns

func (fake *FakeTerminalHelper) IsTerminalReturns(result1 bool)

func (*FakeTerminalHelper) IsTerminalReturnsOnCall

func (fake *FakeTerminalHelper) IsTerminalReturnsOnCall(i int, result1 bool)

func (*FakeTerminalHelper) RestoreTerminal

func (fake *FakeTerminalHelper) RestoreTerminal(arg1 uintptr, arg2 *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) RestoreTerminalCalls

func (fake *FakeTerminalHelper) RestoreTerminalCalls(stub func(uintptr, *term.State) error)

func (*FakeTerminalHelper) RestoreTerminalReturns

func (fake *FakeTerminalHelper) RestoreTerminalReturns(result1 error)

func (*FakeTerminalHelper) RestoreTerminalReturnsOnCall

func (fake *FakeTerminalHelper) RestoreTerminalReturnsOnCall(i int, result1 error)

func (*FakeTerminalHelper) SetRawTerminal

func (fake *FakeTerminalHelper) SetRawTerminal(arg1 uintptr) (*term.State, error)

func (*FakeTerminalHelper) SetRawTerminalArgsForCall

func (fake *FakeTerminalHelper) SetRawTerminalArgsForCall(i int) uintptr

func (*FakeTerminalHelper) SetRawTerminalCallCount

func (fake *FakeTerminalHelper) SetRawTerminalCallCount() int

func (*FakeTerminalHelper) SetRawTerminalCalls

func (fake *FakeTerminalHelper) SetRawTerminalCalls(stub func(uintptr) (*term.State, error))

func (*FakeTerminalHelper) SetRawTerminalReturns

func (fake *FakeTerminalHelper) SetRawTerminalReturns(result1 *term.State, result2 error)

func (*FakeTerminalHelper) SetRawTerminalReturnsOnCall

func (fake *FakeTerminalHelper) SetRawTerminalReturnsOnCall(i int, result1 *term.State, result2 error)

func (*FakeTerminalHelper) StdStreams

func (fake *FakeTerminalHelper) StdStreams() (io.ReadCloser, io.Writer, io.Writer)

func (*FakeTerminalHelper) StdStreamsCallCount

func (fake *FakeTerminalHelper) StdStreamsCallCount() int

func (*FakeTerminalHelper) StdStreamsCalls

func (fake *FakeTerminalHelper) StdStreamsCalls(stub func() (io.ReadCloser, io.Writer, io.Writer))

func (*FakeTerminalHelper) StdStreamsReturns

func (fake *FakeTerminalHelper) StdStreamsReturns(result1 io.ReadCloser, result2 io.Writer, result3 io.Writer)

func (*FakeTerminalHelper) StdStreamsReturnsOnCall

func (fake *FakeTerminalHelper) StdStreamsReturnsOnCall(i int, result1 io.ReadCloser, result2 io.Writer, result3 io.Writer)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL