semanticrouterfakes

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 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 FakeIRouter

type FakeIRouter struct {
	CheckCacheStub func(context.Context, string) (string, bool)

	ClassifyStub func(context.Context, string, string) (semanticrouter.ClassificationResult, error)

	SetCacheStub func(context.Context, string, string) error
	// contains filtered or unexported fields
}

func (*FakeIRouter) CheckCache

func (fake *FakeIRouter) CheckCache(arg1 context.Context, arg2 string) (string, bool)

func (*FakeIRouter) CheckCacheArgsForCall

func (fake *FakeIRouter) CheckCacheArgsForCall(i int) (context.Context, string)

func (*FakeIRouter) CheckCacheCallCount

func (fake *FakeIRouter) CheckCacheCallCount() int

func (*FakeIRouter) CheckCacheCalls

func (fake *FakeIRouter) CheckCacheCalls(stub func(context.Context, string) (string, bool))

func (*FakeIRouter) CheckCacheReturns

func (fake *FakeIRouter) CheckCacheReturns(result1 string, result2 bool)

func (*FakeIRouter) CheckCacheReturnsOnCall

func (fake *FakeIRouter) CheckCacheReturnsOnCall(i int, result1 string, result2 bool)

func (*FakeIRouter) Classify

func (fake *FakeIRouter) Classify(arg1 context.Context, arg2 string, arg3 string) (semanticrouter.ClassificationResult, error)

func (*FakeIRouter) ClassifyArgsForCall

func (fake *FakeIRouter) ClassifyArgsForCall(i int) (context.Context, string, string)

func (*FakeIRouter) ClassifyCallCount

func (fake *FakeIRouter) ClassifyCallCount() int

func (*FakeIRouter) ClassifyCalls

func (fake *FakeIRouter) ClassifyCalls(stub func(context.Context, string, string) (semanticrouter.ClassificationResult, error))

func (*FakeIRouter) ClassifyReturns

func (fake *FakeIRouter) ClassifyReturns(result1 semanticrouter.ClassificationResult, result2 error)

func (*FakeIRouter) ClassifyReturnsOnCall

func (fake *FakeIRouter) ClassifyReturnsOnCall(i int, result1 semanticrouter.ClassificationResult, result2 error)

func (*FakeIRouter) Invocations

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

func (*FakeIRouter) SetCache

func (fake *FakeIRouter) SetCache(arg1 context.Context, arg2 string, arg3 string) error

func (*FakeIRouter) SetCacheArgsForCall

func (fake *FakeIRouter) SetCacheArgsForCall(i int) (context.Context, string, string)

func (*FakeIRouter) SetCacheCallCount

func (fake *FakeIRouter) SetCacheCallCount() int

func (*FakeIRouter) SetCacheCalls

func (fake *FakeIRouter) SetCacheCalls(stub func(context.Context, string, string) error)

func (*FakeIRouter) SetCacheReturns

func (fake *FakeIRouter) SetCacheReturns(result1 error)

func (*FakeIRouter) SetCacheReturnsOnCall

func (fake *FakeIRouter) SetCacheReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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