Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeConfig
- func (fake *FakeConfig) ColorEnabled() configv3.ColorSetting
- func (fake *FakeConfig) ColorEnabledCallCount() int
- func (fake *FakeConfig) ColorEnabledReturns(result1 configv3.ColorSetting)
- func (fake *FakeConfig) ColorEnabledReturnsOnCall(i int, result1 configv3.ColorSetting)
- func (fake *FakeConfig) Invocations() map[string][][]interface{}
- func (fake *FakeConfig) IsTTY() bool
- func (fake *FakeConfig) IsTTYCallCount() int
- func (fake *FakeConfig) IsTTYReturns(result1 bool)
- func (fake *FakeConfig) IsTTYReturnsOnCall(i int, result1 bool)
- func (fake *FakeConfig) Locale() string
- func (fake *FakeConfig) LocaleCallCount() int
- func (fake *FakeConfig) LocaleReturns(result1 string)
- func (fake *FakeConfig) LocaleReturnsOnCall(i int, result1 string)
- func (fake *FakeConfig) TerminalWidth() int
- func (fake *FakeConfig) TerminalWidthCallCount() int
- func (fake *FakeConfig) TerminalWidthReturns(result1 int)
- func (fake *FakeConfig) TerminalWidthReturnsOnCall(i int, result1 int)
- type FakeLogMessage
- func (fake *FakeLogMessage) Invocations() map[string][][]interface{}
- func (fake *FakeLogMessage) Message() string
- func (fake *FakeLogMessage) MessageCallCount() int
- func (fake *FakeLogMessage) MessageReturns(result1 string)
- func (fake *FakeLogMessage) MessageReturnsOnCall(i int, result1 string)
- func (fake *FakeLogMessage) SourceInstance() string
- func (fake *FakeLogMessage) SourceInstanceCallCount() int
- func (fake *FakeLogMessage) SourceInstanceReturns(result1 string)
- func (fake *FakeLogMessage) SourceInstanceReturnsOnCall(i int, result1 string)
- func (fake *FakeLogMessage) SourceType() string
- func (fake *FakeLogMessage) SourceTypeCallCount() int
- func (fake *FakeLogMessage) SourceTypeReturns(result1 string)
- func (fake *FakeLogMessage) SourceTypeReturnsOnCall(i int, result1 string)
- func (fake *FakeLogMessage) Timestamp() time.Time
- func (fake *FakeLogMessage) TimestampCallCount() int
- func (fake *FakeLogMessage) TimestampReturns(result1 time.Time)
- func (fake *FakeLogMessage) TimestampReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeLogMessage) Type() string
- func (fake *FakeLogMessage) TypeCallCount() int
- func (fake *FakeLogMessage) TypeReturns(result1 string)
- func (fake *FakeLogMessage) TypeReturnsOnCall(i int, result1 string)
- type FakeTranslatableError
- func (fake *FakeTranslatableError) Error() string
- func (fake *FakeTranslatableError) ErrorCallCount() int
- func (fake *FakeTranslatableError) ErrorReturns(result1 string)
- func (fake *FakeTranslatableError) ErrorReturnsOnCall(i int, result1 string)
- func (fake *FakeTranslatableError) Invocations() map[string][][]interface{}
- func (fake *FakeTranslatableError) Translate(arg1 func(string, ...interface{}) string) string
- func (fake *FakeTranslatableError) TranslateArgsForCall(i int) func(string, ...interface{}) string
- func (fake *FakeTranslatableError) TranslateCallCount() int
- func (fake *FakeTranslatableError) TranslateReturns(result1 string)
- func (fake *FakeTranslatableError) TranslateReturnsOnCall(i int, result1 string)
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 LocaleStub func() string IsTTYStub func() bool 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) 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) 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) 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) 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 TypeStub func() string TimestampStub func() time.Time SourceTypeStub func() string SourceInstanceStub 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) 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) 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) 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) 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) TypeReturns ¶
func (fake *FakeLogMessage) TypeReturns(result1 string)
func (*FakeLogMessage) TypeReturnsOnCall ¶
func (fake *FakeLogMessage) TypeReturnsOnCall(i int, result1 string)
type FakeTranslatableError ¶
type FakeTranslatableError struct { ErrorStub func() string TranslateStub func(func(string, ...interface{}) string) string // contains filtered or unexported fields }
func (*FakeTranslatableError) Error ¶
func (fake *FakeTranslatableError) Error() string
func (*FakeTranslatableError) ErrorCallCount ¶
func (fake *FakeTranslatableError) ErrorCallCount() int
func (*FakeTranslatableError) ErrorReturns ¶
func (fake *FakeTranslatableError) ErrorReturns(result1 string)
func (*FakeTranslatableError) ErrorReturnsOnCall ¶
func (fake *FakeTranslatableError) ErrorReturnsOnCall(i int, result1 string)
func (*FakeTranslatableError) Invocations ¶
func (fake *FakeTranslatableError) Invocations() map[string][][]interface{}
func (*FakeTranslatableError) Translate ¶
func (fake *FakeTranslatableError) Translate(arg1 func(string, ...interface{}) string) string
func (*FakeTranslatableError) TranslateArgsForCall ¶
func (fake *FakeTranslatableError) TranslateArgsForCall(i int) func(string, ...interface{}) string
func (*FakeTranslatableError) TranslateCallCount ¶
func (fake *FakeTranslatableError) TranslateCallCount() int
func (*FakeTranslatableError) TranslateReturns ¶
func (fake *FakeTranslatableError) TranslateReturns(result1 string)
func (*FakeTranslatableError) TranslateReturnsOnCall ¶
func (fake *FakeTranslatableError) TranslateReturnsOnCall(i int, result1 string)
Click to show internal directories.
Click to hide internal directories.