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 ¶
- type FakeConfig
- func (fake *FakeConfig) ColorEnabled() configv3.ColorSetting
- func (fake *FakeConfig) ColorEnabledCallCount() int
- func (fake *FakeConfig) ColorEnabledCalls(stub func() configv3.ColorSetting)
- 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) IsTTYCalls(stub func() bool)
- 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) LocaleCalls(stub func() string)
- 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) TerminalWidthCalls(stub func() int)
- func (fake *FakeConfig) TerminalWidthReturns(result1 int)
- func (fake *FakeConfig) TerminalWidthReturnsOnCall(i int, result1 int)
- type FakeExiter
- type FakeInteractor
- func (fake *FakeInteractor) Invocations() map[string][][]interface{}
- func (fake *FakeInteractor) NewInteraction(arg1 string, arg2 ...interact.Choice) ui.Resolver
- func (fake *FakeInteractor) NewInteractionArgsForCall(i int) (string, []interact.Choice)
- func (fake *FakeInteractor) NewInteractionCallCount() int
- func (fake *FakeInteractor) NewInteractionCalls(stub func(string, ...interact.Choice) ui.Resolver)
- func (fake *FakeInteractor) NewInteractionReturns(result1 ui.Resolver)
- func (fake *FakeInteractor) NewInteractionReturnsOnCall(i int, result1 ui.Resolver)
- type FakeLogMessage
- func (fake *FakeLogMessage) Invocations() map[string][][]interface{}
- func (fake *FakeLogMessage) Message() string
- func (fake *FakeLogMessage) MessageCallCount() int
- func (fake *FakeLogMessage) MessageCalls(stub func() string)
- 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) SourceInstanceCalls(stub func() string)
- 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) SourceTypeCalls(stub func() string)
- 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) TimestampCalls(stub func() time.Time)
- 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) TypeCalls(stub func() string)
- func (fake *FakeLogMessage) TypeReturns(result1 string)
- func (fake *FakeLogMessage) TypeReturnsOnCall(i int, result1 string)
- type FakeResolver
- func (fake *FakeResolver) Invocations() map[string][][]interface{}
- func (fake *FakeResolver) Resolve(arg1 interface{}) error
- func (fake *FakeResolver) ResolveArgsForCall(i int) interface{}
- func (fake *FakeResolver) ResolveCallCount() int
- func (fake *FakeResolver) ResolveCalls(stub func(interface{}) error)
- func (fake *FakeResolver) ResolveReturns(result1 error)
- func (fake *FakeResolver) ResolveReturnsOnCall(i int, result1 error)
- func (fake *FakeResolver) SetIn(arg1 io.Reader)
- func (fake *FakeResolver) SetInArgsForCall(i int) io.Reader
- func (fake *FakeResolver) SetInCallCount() int
- func (fake *FakeResolver) SetInCalls(stub func(io.Reader))
- func (fake *FakeResolver) SetOut(arg1 io.Writer)
- func (fake *FakeResolver) SetOutArgsForCall(i int) io.Writer
- func (fake *FakeResolver) SetOutCallCount() int
- func (fake *FakeResolver) SetOutCalls(stub func(io.Writer))
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 (*FakeInteractor) NewInteractionArgsForCall ¶
func (fake *FakeInteractor) NewInteractionArgsForCall(i int) (string, []interact.Choice)
func (*FakeInteractor) NewInteractionCallCount ¶
func (fake *FakeInteractor) NewInteractionCallCount() int
func (*FakeInteractor) NewInteractionCalls ¶
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))
Click to show internal directories.
Click to hide internal directories.