Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeShortcut
- func (fake *FakeShortcut) CanExecute(arg1 []string) bool
- func (fake *FakeShortcut) CanExecuteArgsForCall(i int) []string
- func (fake *FakeShortcut) CanExecuteCallCount() int
- func (fake *FakeShortcut) CanExecuteCalls(stub func([]string) bool)
- func (fake *FakeShortcut) CanExecuteReturns(result1 bool)
- func (fake *FakeShortcut) CanExecuteReturnsOnCall(i int, result1 bool)
- func (fake *FakeShortcut) Execute(arg1 context.Context, arg2 []string) (shortcuts.ShortcutResult, error)
- func (fake *FakeShortcut) ExecuteArgsForCall(i int) (context.Context, []string)
- func (fake *FakeShortcut) ExecuteCallCount() int
- func (fake *FakeShortcut) ExecuteCalls(stub func(context.Context, []string) (shortcuts.ShortcutResult, error))
- func (fake *FakeShortcut) ExecuteReturns(result1 shortcuts.ShortcutResult, result2 error)
- func (fake *FakeShortcut) ExecuteReturnsOnCall(i int, result1 shortcuts.ShortcutResult, result2 error)
- func (fake *FakeShortcut) GetDescription() string
- func (fake *FakeShortcut) GetDescriptionCallCount() int
- func (fake *FakeShortcut) GetDescriptionCalls(stub func() string)
- func (fake *FakeShortcut) GetDescriptionReturns(result1 string)
- func (fake *FakeShortcut) GetDescriptionReturnsOnCall(i int, result1 string)
- func (fake *FakeShortcut) GetName() string
- func (fake *FakeShortcut) GetNameCallCount() int
- func (fake *FakeShortcut) GetNameCalls(stub func() string)
- func (fake *FakeShortcut) GetNameReturns(result1 string)
- func (fake *FakeShortcut) GetNameReturnsOnCall(i int, result1 string)
- func (fake *FakeShortcut) GetUsage() string
- func (fake *FakeShortcut) GetUsageCallCount() int
- func (fake *FakeShortcut) GetUsageCalls(stub func() string)
- func (fake *FakeShortcut) GetUsageReturns(result1 string)
- func (fake *FakeShortcut) GetUsageReturnsOnCall(i int, result1 string)
- func (fake *FakeShortcut) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeShortcut ¶
type FakeShortcut struct {
CanExecuteStub func([]string) bool
ExecuteStub func(context.Context, []string) (shortcuts.ShortcutResult, error)
GetDescriptionStub func() string
GetNameStub func() string
GetUsageStub func() string
// contains filtered or unexported fields
}
func (*FakeShortcut) CanExecute ¶
func (fake *FakeShortcut) CanExecute(arg1 []string) bool
func (*FakeShortcut) CanExecuteArgsForCall ¶
func (fake *FakeShortcut) CanExecuteArgsForCall(i int) []string
func (*FakeShortcut) CanExecuteCallCount ¶
func (fake *FakeShortcut) CanExecuteCallCount() int
func (*FakeShortcut) CanExecuteCalls ¶
func (fake *FakeShortcut) CanExecuteCalls(stub func([]string) bool)
func (*FakeShortcut) CanExecuteReturns ¶
func (fake *FakeShortcut) CanExecuteReturns(result1 bool)
func (*FakeShortcut) CanExecuteReturnsOnCall ¶
func (fake *FakeShortcut) CanExecuteReturnsOnCall(i int, result1 bool)
func (*FakeShortcut) Execute ¶
func (fake *FakeShortcut) Execute(arg1 context.Context, arg2 []string) (shortcuts.ShortcutResult, error)
func (*FakeShortcut) ExecuteArgsForCall ¶
func (fake *FakeShortcut) ExecuteArgsForCall(i int) (context.Context, []string)
func (*FakeShortcut) ExecuteCallCount ¶
func (fake *FakeShortcut) ExecuteCallCount() int
func (*FakeShortcut) ExecuteCalls ¶
func (fake *FakeShortcut) ExecuteCalls(stub func(context.Context, []string) (shortcuts.ShortcutResult, error))
func (*FakeShortcut) ExecuteReturns ¶
func (fake *FakeShortcut) ExecuteReturns(result1 shortcuts.ShortcutResult, result2 error)
func (*FakeShortcut) ExecuteReturnsOnCall ¶
func (fake *FakeShortcut) ExecuteReturnsOnCall(i int, result1 shortcuts.ShortcutResult, result2 error)
func (*FakeShortcut) GetDescription ¶
func (fake *FakeShortcut) GetDescription() string
func (*FakeShortcut) GetDescriptionCallCount ¶
func (fake *FakeShortcut) GetDescriptionCallCount() int
func (*FakeShortcut) GetDescriptionCalls ¶
func (fake *FakeShortcut) GetDescriptionCalls(stub func() string)
func (*FakeShortcut) GetDescriptionReturns ¶
func (fake *FakeShortcut) GetDescriptionReturns(result1 string)
func (*FakeShortcut) GetDescriptionReturnsOnCall ¶
func (fake *FakeShortcut) GetDescriptionReturnsOnCall(i int, result1 string)
func (*FakeShortcut) GetName ¶
func (fake *FakeShortcut) GetName() string
func (*FakeShortcut) GetNameCallCount ¶
func (fake *FakeShortcut) GetNameCallCount() int
func (*FakeShortcut) GetNameCalls ¶
func (fake *FakeShortcut) GetNameCalls(stub func() string)
func (*FakeShortcut) GetNameReturns ¶
func (fake *FakeShortcut) GetNameReturns(result1 string)
func (*FakeShortcut) GetNameReturnsOnCall ¶
func (fake *FakeShortcut) GetNameReturnsOnCall(i int, result1 string)
func (*FakeShortcut) GetUsage ¶
func (fake *FakeShortcut) GetUsage() string
func (*FakeShortcut) GetUsageCallCount ¶
func (fake *FakeShortcut) GetUsageCallCount() int
func (*FakeShortcut) GetUsageCalls ¶
func (fake *FakeShortcut) GetUsageCalls(stub func() string)
func (*FakeShortcut) GetUsageReturns ¶
func (fake *FakeShortcut) GetUsageReturns(result1 string)
func (*FakeShortcut) GetUsageReturnsOnCall ¶
func (fake *FakeShortcut) GetUsageReturnsOnCall(i int, result1 string)
func (*FakeShortcut) Invocations ¶
func (fake *FakeShortcut) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.