uifakes

package
v6.41.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Jump to

Keyboard shortcuts

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