terminalfakes

package
v6.31.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

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) Invocations

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

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)

Jump to

Keyboard shortcuts

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