sdk

package
v0.142.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 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 FakeClient

type FakeClient struct {
	GenerateContentStub func(context.Context, sdk.Provider, string, []sdk.Message) (*sdk.CreateChatCompletionResponse, error)

	GenerateContentStreamStub func(context.Context, sdk.Provider, string, []sdk.Message) (<-chan sdk.SSEvent, error)

	HealthCheckStub func(context.Context) error

	ListModelsStub func(context.Context) (*sdk.ListModelsResponse, error)

	ListProviderModelsStub func(context.Context, sdk.Provider) (*sdk.ListModelsResponse, error)

	ListToolsStub func(context.Context) (*sdk.ListToolsResponse, error)

	WithAuthTokenStub func(string) sdk.Client

	WithHeaderStub func(string, string) sdk.Client

	WithHeadersStub func(map[string]string) sdk.Client

	WithMiddlewareOptionsStub func(*sdk.MiddlewareOptions) sdk.Client

	WithOptionsStub func(*sdk.CreateChatCompletionRequest) sdk.Client

	WithToolsStub func(*[]sdk.ChatCompletionTool) sdk.Client
	// contains filtered or unexported fields
}

func (*FakeClient) GenerateContent

func (fake *FakeClient) GenerateContent(arg1 context.Context, arg2 sdk.Provider, arg3 string, arg4 []sdk.Message) (*sdk.CreateChatCompletionResponse, error)

func (*FakeClient) GenerateContentArgsForCall

func (fake *FakeClient) GenerateContentArgsForCall(i int) (context.Context, sdk.Provider, string, []sdk.Message)

func (*FakeClient) GenerateContentCallCount

func (fake *FakeClient) GenerateContentCallCount() int

func (*FakeClient) GenerateContentCalls

func (fake *FakeClient) GenerateContentCalls(stub func(context.Context, sdk.Provider, string, []sdk.Message) (*sdk.CreateChatCompletionResponse, error))

func (*FakeClient) GenerateContentReturns

func (fake *FakeClient) GenerateContentReturns(result1 *sdk.CreateChatCompletionResponse, result2 error)

func (*FakeClient) GenerateContentReturnsOnCall

func (fake *FakeClient) GenerateContentReturnsOnCall(i int, result1 *sdk.CreateChatCompletionResponse, result2 error)

func (*FakeClient) GenerateContentStream

func (fake *FakeClient) GenerateContentStream(arg1 context.Context, arg2 sdk.Provider, arg3 string, arg4 []sdk.Message) (<-chan sdk.SSEvent, error)

func (*FakeClient) GenerateContentStreamArgsForCall

func (fake *FakeClient) GenerateContentStreamArgsForCall(i int) (context.Context, sdk.Provider, string, []sdk.Message)

func (*FakeClient) GenerateContentStreamCallCount

func (fake *FakeClient) GenerateContentStreamCallCount() int

func (*FakeClient) GenerateContentStreamCalls

func (fake *FakeClient) GenerateContentStreamCalls(stub func(context.Context, sdk.Provider, string, []sdk.Message) (<-chan sdk.SSEvent, error))

func (*FakeClient) GenerateContentStreamReturns

func (fake *FakeClient) GenerateContentStreamReturns(result1 <-chan sdk.SSEvent, result2 error)

func (*FakeClient) GenerateContentStreamReturnsOnCall

func (fake *FakeClient) GenerateContentStreamReturnsOnCall(i int, result1 <-chan sdk.SSEvent, result2 error)

func (*FakeClient) HealthCheck

func (fake *FakeClient) HealthCheck(arg1 context.Context) error

func (*FakeClient) HealthCheckArgsForCall

func (fake *FakeClient) HealthCheckArgsForCall(i int) context.Context

func (*FakeClient) HealthCheckCallCount

func (fake *FakeClient) HealthCheckCallCount() int

func (*FakeClient) HealthCheckCalls

func (fake *FakeClient) HealthCheckCalls(stub func(context.Context) error)

func (*FakeClient) HealthCheckReturns

func (fake *FakeClient) HealthCheckReturns(result1 error)

func (*FakeClient) HealthCheckReturnsOnCall

func (fake *FakeClient) HealthCheckReturnsOnCall(i int, result1 error)

func (*FakeClient) Invocations

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

func (*FakeClient) ListModels

func (fake *FakeClient) ListModels(arg1 context.Context) (*sdk.ListModelsResponse, error)

func (*FakeClient) ListModelsArgsForCall

func (fake *FakeClient) ListModelsArgsForCall(i int) context.Context

func (*FakeClient) ListModelsCallCount

func (fake *FakeClient) ListModelsCallCount() int

func (*FakeClient) ListModelsCalls

func (fake *FakeClient) ListModelsCalls(stub func(context.Context) (*sdk.ListModelsResponse, error))

func (*FakeClient) ListModelsReturns

func (fake *FakeClient) ListModelsReturns(result1 *sdk.ListModelsResponse, result2 error)

func (*FakeClient) ListModelsReturnsOnCall

func (fake *FakeClient) ListModelsReturnsOnCall(i int, result1 *sdk.ListModelsResponse, result2 error)

func (*FakeClient) ListProviderModels

func (fake *FakeClient) ListProviderModels(arg1 context.Context, arg2 sdk.Provider) (*sdk.ListModelsResponse, error)

func (*FakeClient) ListProviderModelsArgsForCall

func (fake *FakeClient) ListProviderModelsArgsForCall(i int) (context.Context, sdk.Provider)

func (*FakeClient) ListProviderModelsCallCount

func (fake *FakeClient) ListProviderModelsCallCount() int

func (*FakeClient) ListProviderModelsCalls

func (fake *FakeClient) ListProviderModelsCalls(stub func(context.Context, sdk.Provider) (*sdk.ListModelsResponse, error))

func (*FakeClient) ListProviderModelsReturns

func (fake *FakeClient) ListProviderModelsReturns(result1 *sdk.ListModelsResponse, result2 error)

func (*FakeClient) ListProviderModelsReturnsOnCall

func (fake *FakeClient) ListProviderModelsReturnsOnCall(i int, result1 *sdk.ListModelsResponse, result2 error)

func (*FakeClient) ListTools

func (fake *FakeClient) ListTools(arg1 context.Context) (*sdk.ListToolsResponse, error)

func (*FakeClient) ListToolsArgsForCall

func (fake *FakeClient) ListToolsArgsForCall(i int) context.Context

func (*FakeClient) ListToolsCallCount

func (fake *FakeClient) ListToolsCallCount() int

func (*FakeClient) ListToolsCalls

func (fake *FakeClient) ListToolsCalls(stub func(context.Context) (*sdk.ListToolsResponse, error))

func (*FakeClient) ListToolsReturns

func (fake *FakeClient) ListToolsReturns(result1 *sdk.ListToolsResponse, result2 error)

func (*FakeClient) ListToolsReturnsOnCall

func (fake *FakeClient) ListToolsReturnsOnCall(i int, result1 *sdk.ListToolsResponse, result2 error)

func (*FakeClient) WithAuthToken

func (fake *FakeClient) WithAuthToken(arg1 string) sdk.Client

func (*FakeClient) WithAuthTokenArgsForCall

func (fake *FakeClient) WithAuthTokenArgsForCall(i int) string

func (*FakeClient) WithAuthTokenCallCount

func (fake *FakeClient) WithAuthTokenCallCount() int

func (*FakeClient) WithAuthTokenCalls

func (fake *FakeClient) WithAuthTokenCalls(stub func(string) sdk.Client)

func (*FakeClient) WithAuthTokenReturns

func (fake *FakeClient) WithAuthTokenReturns(result1 sdk.Client)

func (*FakeClient) WithAuthTokenReturnsOnCall

func (fake *FakeClient) WithAuthTokenReturnsOnCall(i int, result1 sdk.Client)

func (*FakeClient) WithHeader

func (fake *FakeClient) WithHeader(arg1 string, arg2 string) sdk.Client

func (*FakeClient) WithHeaderArgsForCall

func (fake *FakeClient) WithHeaderArgsForCall(i int) (string, string)

func (*FakeClient) WithHeaderCallCount

func (fake *FakeClient) WithHeaderCallCount() int

func (*FakeClient) WithHeaderCalls

func (fake *FakeClient) WithHeaderCalls(stub func(string, string) sdk.Client)

func (*FakeClient) WithHeaderReturns

func (fake *FakeClient) WithHeaderReturns(result1 sdk.Client)

func (*FakeClient) WithHeaderReturnsOnCall

func (fake *FakeClient) WithHeaderReturnsOnCall(i int, result1 sdk.Client)

func (*FakeClient) WithHeaders

func (fake *FakeClient) WithHeaders(arg1 map[string]string) sdk.Client

func (*FakeClient) WithHeadersArgsForCall

func (fake *FakeClient) WithHeadersArgsForCall(i int) map[string]string

func (*FakeClient) WithHeadersCallCount

func (fake *FakeClient) WithHeadersCallCount() int

func (*FakeClient) WithHeadersCalls

func (fake *FakeClient) WithHeadersCalls(stub func(map[string]string) sdk.Client)

func (*FakeClient) WithHeadersReturns

func (fake *FakeClient) WithHeadersReturns(result1 sdk.Client)

func (*FakeClient) WithHeadersReturnsOnCall

func (fake *FakeClient) WithHeadersReturnsOnCall(i int, result1 sdk.Client)

func (*FakeClient) WithMiddlewareOptions

func (fake *FakeClient) WithMiddlewareOptions(arg1 *sdk.MiddlewareOptions) sdk.Client

func (*FakeClient) WithMiddlewareOptionsArgsForCall

func (fake *FakeClient) WithMiddlewareOptionsArgsForCall(i int) *sdk.MiddlewareOptions

func (*FakeClient) WithMiddlewareOptionsCallCount

func (fake *FakeClient) WithMiddlewareOptionsCallCount() int

func (*FakeClient) WithMiddlewareOptionsCalls

func (fake *FakeClient) WithMiddlewareOptionsCalls(stub func(*sdk.MiddlewareOptions) sdk.Client)

func (*FakeClient) WithMiddlewareOptionsReturns

func (fake *FakeClient) WithMiddlewareOptionsReturns(result1 sdk.Client)

func (*FakeClient) WithMiddlewareOptionsReturnsOnCall

func (fake *FakeClient) WithMiddlewareOptionsReturnsOnCall(i int, result1 sdk.Client)

func (*FakeClient) WithOptions

func (fake *FakeClient) WithOptions(arg1 *sdk.CreateChatCompletionRequest) sdk.Client

func (*FakeClient) WithOptionsArgsForCall

func (fake *FakeClient) WithOptionsArgsForCall(i int) *sdk.CreateChatCompletionRequest

func (*FakeClient) WithOptionsCallCount

func (fake *FakeClient) WithOptionsCallCount() int

func (*FakeClient) WithOptionsCalls

func (fake *FakeClient) WithOptionsCalls(stub func(*sdk.CreateChatCompletionRequest) sdk.Client)

func (*FakeClient) WithOptionsReturns

func (fake *FakeClient) WithOptionsReturns(result1 sdk.Client)

func (*FakeClient) WithOptionsReturnsOnCall

func (fake *FakeClient) WithOptionsReturnsOnCall(i int, result1 sdk.Client)

func (*FakeClient) WithTools

func (fake *FakeClient) WithTools(arg1 *[]sdk.ChatCompletionTool) sdk.Client

func (*FakeClient) WithToolsArgsForCall

func (fake *FakeClient) WithToolsArgsForCall(i int) *[]sdk.ChatCompletionTool

func (*FakeClient) WithToolsCallCount

func (fake *FakeClient) WithToolsCallCount() int

func (*FakeClient) WithToolsCalls

func (fake *FakeClient) WithToolsCalls(stub func(*[]sdk.ChatCompletionTool) sdk.Client)

func (*FakeClient) WithToolsReturns

func (fake *FakeClient) WithToolsReturns(result1 sdk.Client)

func (*FakeClient) WithToolsReturnsOnCall

func (fake *FakeClient) WithToolsReturnsOnCall(i int, result1 sdk.Client)

Jump to

Keyboard shortcuts

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