shortcuts

package
v0.247.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 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) CallOrder added in v0.246.1

func (fake *FakeShortcut) CallOrder() []string

func (*FakeShortcut) CanExecute

func (fake *FakeShortcut) CanExecute(arg1 []string) bool

func (*FakeShortcut) CanExecuteArgs added in v0.246.1

func (fake *FakeShortcut) CanExecuteArgs() []FakeShortcutCanExecuteArgs

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) ExecuteArgs added in v0.246.1

func (fake *FakeShortcut) ExecuteArgs() []FakeShortcutExecuteArgs

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{}

type FakeShortcutCanExecuteArgs added in v0.246.1

type FakeShortcutCanExecuteArgs struct {
	Arg1 []string
}

FakeShortcutCanExecuteArgs holds the arguments of one call to CanExecute.

type FakeShortcutExecuteArgs added in v0.246.1

type FakeShortcutExecuteArgs struct {
	Arg1 context.Context
	Arg2 []string
}

FakeShortcutExecuteArgs holds the arguments of one call to Execute.

Jump to

Keyboard shortcuts

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