uifakes

package
v7.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeConfig

type FakeConfig struct {
	ColorEnabledStub func() configv3.ColorSetting

	IsTTYStub func() bool

	LocaleStub func() string

	TerminalWidthStub func() int
	// contains filtered or unexported fields
}

func (*FakeConfig) ColorEnabled

func (fake *FakeConfig) ColorEnabled() configv3.ColorSetting

func (*FakeConfig) ColorEnabledCallCount

func (fake *FakeConfig) ColorEnabledCallCount() int

func (*FakeConfig) ColorEnabledCalls

func (fake *FakeConfig) ColorEnabledCalls(stub func() configv3.ColorSetting)

func (*FakeConfig) ColorEnabledReturns

func (fake *FakeConfig) ColorEnabledReturns(result1 configv3.ColorSetting)

func (*FakeConfig) ColorEnabledReturnsOnCall

func (fake *FakeConfig) ColorEnabledReturnsOnCall(i int, result1 configv3.ColorSetting)

func (*FakeConfig) Invocations

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

func (*FakeConfig) IsTTY

func (fake *FakeConfig) IsTTY() bool

func (*FakeConfig) IsTTYCallCount

func (fake *FakeConfig) IsTTYCallCount() int

func (*FakeConfig) IsTTYCalls

func (fake *FakeConfig) IsTTYCalls(stub func() bool)

func (*FakeConfig) IsTTYReturns

func (fake *FakeConfig) IsTTYReturns(result1 bool)

func (*FakeConfig) IsTTYReturnsOnCall

func (fake *FakeConfig) IsTTYReturnsOnCall(i int, result1 bool)

func (*FakeConfig) Locale

func (fake *FakeConfig) Locale() string

func (*FakeConfig) LocaleCallCount

func (fake *FakeConfig) LocaleCallCount() int

func (*FakeConfig) LocaleCalls

func (fake *FakeConfig) LocaleCalls(stub func() string)

func (*FakeConfig) LocaleReturns

func (fake *FakeConfig) LocaleReturns(result1 string)

func (*FakeConfig) LocaleReturnsOnCall

func (fake *FakeConfig) LocaleReturnsOnCall(i int, result1 string)

func (*FakeConfig) TerminalWidth

func (fake *FakeConfig) TerminalWidth() int

func (*FakeConfig) TerminalWidthCallCount

func (fake *FakeConfig) TerminalWidthCallCount() int

func (*FakeConfig) TerminalWidthCalls

func (fake *FakeConfig) TerminalWidthCalls(stub func() int)

func (*FakeConfig) TerminalWidthReturns

func (fake *FakeConfig) TerminalWidthReturns(result1 int)

func (*FakeConfig) TerminalWidthReturnsOnCall

func (fake *FakeConfig) TerminalWidthReturnsOnCall(i int, result1 int)

type FakeExiter

type FakeExiter struct {
	ExitStub func(int)
	// contains filtered or unexported fields
}

func (*FakeExiter) Exit

func (fake *FakeExiter) Exit(arg1 int)

func (*FakeExiter) ExitArgsForCall

func (fake *FakeExiter) ExitArgsForCall(i int) int

func (*FakeExiter) ExitCallCount

func (fake *FakeExiter) ExitCallCount() int

func (*FakeExiter) ExitCalls

func (fake *FakeExiter) ExitCalls(stub func(int))

func (*FakeExiter) Invocations

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

type FakeInteractor

type FakeInteractor struct {
	NewInteractionStub func(string, ...interact.Choice) ui.Resolver
	// contains filtered or unexported fields
}

func (*FakeInteractor) Invocations

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

func (*FakeInteractor) NewInteraction

func (fake *FakeInteractor) NewInteraction(arg1 string, arg2 ...interact.Choice) ui.Resolver

func (*FakeInteractor) NewInteractionArgsForCall

func (fake *FakeInteractor) NewInteractionArgsForCall(i int) (string, []interact.Choice)

func (*FakeInteractor) NewInteractionCallCount

func (fake *FakeInteractor) NewInteractionCallCount() int

func (*FakeInteractor) NewInteractionCalls

func (fake *FakeInteractor) NewInteractionCalls(stub func(string, ...interact.Choice) ui.Resolver)

func (*FakeInteractor) NewInteractionReturns

func (fake *FakeInteractor) NewInteractionReturns(result1 ui.Resolver)

func (*FakeInteractor) NewInteractionReturnsOnCall

func (fake *FakeInteractor) NewInteractionReturnsOnCall(i int, result1 ui.Resolver)

type FakeLogMessage

type FakeLogMessage struct {
	MessageStub func() string

	SourceInstanceStub func() string

	SourceTypeStub func() string

	TimestampStub func() time.Time

	TypeStub func() string
	// contains filtered or unexported fields
}

func (*FakeLogMessage) Invocations

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

func (*FakeLogMessage) Message

func (fake *FakeLogMessage) Message() string

func (*FakeLogMessage) MessageCallCount

func (fake *FakeLogMessage) MessageCallCount() int

func (*FakeLogMessage) MessageCalls

func (fake *FakeLogMessage) MessageCalls(stub func() string)

func (*FakeLogMessage) MessageReturns

func (fake *FakeLogMessage) MessageReturns(result1 string)

func (*FakeLogMessage) MessageReturnsOnCall

func (fake *FakeLogMessage) MessageReturnsOnCall(i int, result1 string)

func (*FakeLogMessage) SourceInstance

func (fake *FakeLogMessage) SourceInstance() string

func (*FakeLogMessage) SourceInstanceCallCount

func (fake *FakeLogMessage) SourceInstanceCallCount() int

func (*FakeLogMessage) SourceInstanceCalls

func (fake *FakeLogMessage) SourceInstanceCalls(stub func() string)

func (*FakeLogMessage) SourceInstanceReturns

func (fake *FakeLogMessage) SourceInstanceReturns(result1 string)

func (*FakeLogMessage) SourceInstanceReturnsOnCall

func (fake *FakeLogMessage) SourceInstanceReturnsOnCall(i int, result1 string)

func (*FakeLogMessage) SourceType

func (fake *FakeLogMessage) SourceType() string

func (*FakeLogMessage) SourceTypeCallCount

func (fake *FakeLogMessage) SourceTypeCallCount() int

func (*FakeLogMessage) SourceTypeCalls

func (fake *FakeLogMessage) SourceTypeCalls(stub func() string)

func (*FakeLogMessage) SourceTypeReturns

func (fake *FakeLogMessage) SourceTypeReturns(result1 string)

func (*FakeLogMessage) SourceTypeReturnsOnCall

func (fake *FakeLogMessage) SourceTypeReturnsOnCall(i int, result1 string)

func (*FakeLogMessage) Timestamp

func (fake *FakeLogMessage) Timestamp() time.Time

func (*FakeLogMessage) TimestampCallCount

func (fake *FakeLogMessage) TimestampCallCount() int

func (*FakeLogMessage) TimestampCalls

func (fake *FakeLogMessage) TimestampCalls(stub func() time.Time)

func (*FakeLogMessage) TimestampReturns

func (fake *FakeLogMessage) TimestampReturns(result1 time.Time)

func (*FakeLogMessage) TimestampReturnsOnCall

func (fake *FakeLogMessage) TimestampReturnsOnCall(i int, result1 time.Time)

func (*FakeLogMessage) Type

func (fake *FakeLogMessage) Type() string

func (*FakeLogMessage) TypeCallCount

func (fake *FakeLogMessage) TypeCallCount() int

func (*FakeLogMessage) TypeCalls

func (fake *FakeLogMessage) TypeCalls(stub func() string)

func (*FakeLogMessage) TypeReturns

func (fake *FakeLogMessage) TypeReturns(result1 string)

func (*FakeLogMessage) TypeReturnsOnCall

func (fake *FakeLogMessage) TypeReturnsOnCall(i int, result1 string)

type FakeResolver

type FakeResolver struct {
	ResolveStub func(interface{}) error

	SetInStub func(io.Reader)

	SetOutStub func(io.Writer)
	// contains filtered or unexported fields
}

func (*FakeResolver) Invocations

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

func (*FakeResolver) Resolve

func (fake *FakeResolver) Resolve(arg1 interface{}) error

func (*FakeResolver) ResolveArgsForCall

func (fake *FakeResolver) ResolveArgsForCall(i int) interface{}

func (*FakeResolver) ResolveCallCount

func (fake *FakeResolver) ResolveCallCount() int

func (*FakeResolver) ResolveCalls

func (fake *FakeResolver) ResolveCalls(stub func(interface{}) error)

func (*FakeResolver) ResolveReturns

func (fake *FakeResolver) ResolveReturns(result1 error)

func (*FakeResolver) ResolveReturnsOnCall

func (fake *FakeResolver) ResolveReturnsOnCall(i int, result1 error)

func (*FakeResolver) SetIn

func (fake *FakeResolver) SetIn(arg1 io.Reader)

func (*FakeResolver) SetInArgsForCall

func (fake *FakeResolver) SetInArgsForCall(i int) io.Reader

func (*FakeResolver) SetInCallCount

func (fake *FakeResolver) SetInCallCount() int

func (*FakeResolver) SetInCalls

func (fake *FakeResolver) SetInCalls(stub func(io.Reader))

func (*FakeResolver) SetOut

func (fake *FakeResolver) SetOut(arg1 io.Writer)

func (*FakeResolver) SetOutArgsForCall

func (fake *FakeResolver) SetOutArgsForCall(i int) io.Writer

func (*FakeResolver) SetOutCallCount

func (fake *FakeResolver) SetOutCallCount() int

func (*FakeResolver) SetOutCalls

func (fake *FakeResolver) SetOutCalls(stub func(io.Writer))

Jump to

Keyboard shortcuts

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