shortcuts

package
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: MIT Imports: 3 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 FakePersistentConversationRepository

type FakePersistentConversationRepository struct {
	DeleteSavedConversationStub func(context.Context, string) error

	GetCurrentConversationIDStub func() string

	GetCurrentConversationMetadataStub func() shortcuts.ConversationMetadata

	ListSavedConversationsStub func(context.Context, int, int) ([]shortcuts.ConversationSummary, error)

	LoadConversationStub func(context.Context, string) error

	SaveConversationStub func(context.Context) error

	SetConversationTitleStub func(string)

	StartNewConversationStub func(string) error
	// contains filtered or unexported fields
}

func (*FakePersistentConversationRepository) DeleteSavedConversation

func (fake *FakePersistentConversationRepository) DeleteSavedConversation(arg1 context.Context, arg2 string) error

func (*FakePersistentConversationRepository) DeleteSavedConversationArgsForCall

func (fake *FakePersistentConversationRepository) DeleteSavedConversationArgsForCall(i int) (context.Context, string)

func (*FakePersistentConversationRepository) DeleteSavedConversationCallCount

func (fake *FakePersistentConversationRepository) DeleteSavedConversationCallCount() int

func (*FakePersistentConversationRepository) DeleteSavedConversationCalls

func (fake *FakePersistentConversationRepository) DeleteSavedConversationCalls(stub func(context.Context, string) error)

func (*FakePersistentConversationRepository) DeleteSavedConversationReturns

func (fake *FakePersistentConversationRepository) DeleteSavedConversationReturns(result1 error)

func (*FakePersistentConversationRepository) DeleteSavedConversationReturnsOnCall

func (fake *FakePersistentConversationRepository) DeleteSavedConversationReturnsOnCall(i int, result1 error)

func (*FakePersistentConversationRepository) GetCurrentConversationID

func (fake *FakePersistentConversationRepository) GetCurrentConversationID() string

func (*FakePersistentConversationRepository) GetCurrentConversationIDCallCount

func (fake *FakePersistentConversationRepository) GetCurrentConversationIDCallCount() int

func (*FakePersistentConversationRepository) GetCurrentConversationIDCalls

func (fake *FakePersistentConversationRepository) GetCurrentConversationIDCalls(stub func() string)

func (*FakePersistentConversationRepository) GetCurrentConversationIDReturns

func (fake *FakePersistentConversationRepository) GetCurrentConversationIDReturns(result1 string)

func (*FakePersistentConversationRepository) GetCurrentConversationIDReturnsOnCall

func (fake *FakePersistentConversationRepository) GetCurrentConversationIDReturnsOnCall(i int, result1 string)

func (*FakePersistentConversationRepository) GetCurrentConversationMetadata

func (fake *FakePersistentConversationRepository) GetCurrentConversationMetadata() shortcuts.ConversationMetadata

func (*FakePersistentConversationRepository) GetCurrentConversationMetadataCallCount

func (fake *FakePersistentConversationRepository) GetCurrentConversationMetadataCallCount() int

func (*FakePersistentConversationRepository) GetCurrentConversationMetadataCalls

func (fake *FakePersistentConversationRepository) GetCurrentConversationMetadataCalls(stub func() shortcuts.ConversationMetadata)

func (*FakePersistentConversationRepository) GetCurrentConversationMetadataReturns

func (fake *FakePersistentConversationRepository) GetCurrentConversationMetadataReturns(result1 shortcuts.ConversationMetadata)

func (*FakePersistentConversationRepository) GetCurrentConversationMetadataReturnsOnCall

func (fake *FakePersistentConversationRepository) GetCurrentConversationMetadataReturnsOnCall(i int, result1 shortcuts.ConversationMetadata)

func (*FakePersistentConversationRepository) Invocations

func (fake *FakePersistentConversationRepository) Invocations() map[string][][]interface{}

func (*FakePersistentConversationRepository) ListSavedConversations

func (fake *FakePersistentConversationRepository) ListSavedConversations(arg1 context.Context, arg2 int, arg3 int) ([]shortcuts.ConversationSummary, error)

func (*FakePersistentConversationRepository) ListSavedConversationsArgsForCall

func (fake *FakePersistentConversationRepository) ListSavedConversationsArgsForCall(i int) (context.Context, int, int)

func (*FakePersistentConversationRepository) ListSavedConversationsCallCount

func (fake *FakePersistentConversationRepository) ListSavedConversationsCallCount() int

func (*FakePersistentConversationRepository) ListSavedConversationsCalls

func (fake *FakePersistentConversationRepository) ListSavedConversationsCalls(stub func(context.Context, int, int) ([]shortcuts.ConversationSummary, error))

func (*FakePersistentConversationRepository) ListSavedConversationsReturns

func (fake *FakePersistentConversationRepository) ListSavedConversationsReturns(result1 []shortcuts.ConversationSummary, result2 error)

func (*FakePersistentConversationRepository) ListSavedConversationsReturnsOnCall

func (fake *FakePersistentConversationRepository) ListSavedConversationsReturnsOnCall(i int, result1 []shortcuts.ConversationSummary, result2 error)

func (*FakePersistentConversationRepository) LoadConversation

func (fake *FakePersistentConversationRepository) LoadConversation(arg1 context.Context, arg2 string) error

func (*FakePersistentConversationRepository) LoadConversationArgsForCall

func (fake *FakePersistentConversationRepository) LoadConversationArgsForCall(i int) (context.Context, string)

func (*FakePersistentConversationRepository) LoadConversationCallCount

func (fake *FakePersistentConversationRepository) LoadConversationCallCount() int

func (*FakePersistentConversationRepository) LoadConversationCalls

func (fake *FakePersistentConversationRepository) LoadConversationCalls(stub func(context.Context, string) error)

func (*FakePersistentConversationRepository) LoadConversationReturns

func (fake *FakePersistentConversationRepository) LoadConversationReturns(result1 error)

func (*FakePersistentConversationRepository) LoadConversationReturnsOnCall

func (fake *FakePersistentConversationRepository) LoadConversationReturnsOnCall(i int, result1 error)

func (*FakePersistentConversationRepository) SaveConversation

func (fake *FakePersistentConversationRepository) SaveConversation(arg1 context.Context) error

func (*FakePersistentConversationRepository) SaveConversationArgsForCall

func (fake *FakePersistentConversationRepository) SaveConversationArgsForCall(i int) context.Context

func (*FakePersistentConversationRepository) SaveConversationCallCount

func (fake *FakePersistentConversationRepository) SaveConversationCallCount() int

func (*FakePersistentConversationRepository) SaveConversationCalls

func (fake *FakePersistentConversationRepository) SaveConversationCalls(stub func(context.Context) error)

func (*FakePersistentConversationRepository) SaveConversationReturns

func (fake *FakePersistentConversationRepository) SaveConversationReturns(result1 error)

func (*FakePersistentConversationRepository) SaveConversationReturnsOnCall

func (fake *FakePersistentConversationRepository) SaveConversationReturnsOnCall(i int, result1 error)

func (*FakePersistentConversationRepository) SetConversationTitle

func (fake *FakePersistentConversationRepository) SetConversationTitle(arg1 string)

func (*FakePersistentConversationRepository) SetConversationTitleArgsForCall

func (fake *FakePersistentConversationRepository) SetConversationTitleArgsForCall(i int) string

func (*FakePersistentConversationRepository) SetConversationTitleCallCount

func (fake *FakePersistentConversationRepository) SetConversationTitleCallCount() int

func (*FakePersistentConversationRepository) SetConversationTitleCalls

func (fake *FakePersistentConversationRepository) SetConversationTitleCalls(stub func(string))

func (*FakePersistentConversationRepository) StartNewConversation

func (fake *FakePersistentConversationRepository) StartNewConversation(arg1 string) error

func (*FakePersistentConversationRepository) StartNewConversationArgsForCall

func (fake *FakePersistentConversationRepository) StartNewConversationArgsForCall(i int) string

func (*FakePersistentConversationRepository) StartNewConversationCallCount

func (fake *FakePersistentConversationRepository) StartNewConversationCallCount() int

func (*FakePersistentConversationRepository) StartNewConversationCalls

func (fake *FakePersistentConversationRepository) StartNewConversationCalls(stub func(string) error)

func (*FakePersistentConversationRepository) StartNewConversationReturns

func (fake *FakePersistentConversationRepository) StartNewConversationReturns(result1 error)

func (*FakePersistentConversationRepository) StartNewConversationReturnsOnCall

func (fake *FakePersistentConversationRepository) StartNewConversationReturnsOnCall(i int, result1 error)

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

Jump to

Keyboard shortcuts

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