mocks

package
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2026 License: BSD-2-Clause Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 CodexOAuthClient added in v0.61.0

type CodexOAuthClient struct {
	ExchangeCodeStub func(context.Context, string, *codex.PKCECodes) (*codex.TokenStorage, error)

	RefreshStub func(context.Context, string) (*codex.TokenStorage, error)
	// contains filtered or unexported fields
}

func (*CodexOAuthClient) ExchangeCode added in v0.61.0

func (fake *CodexOAuthClient) ExchangeCode(arg1 context.Context, arg2 string, arg3 *codex.PKCECodes) (*codex.TokenStorage, error)

func (*CodexOAuthClient) ExchangeCodeArgsForCall added in v0.61.0

func (fake *CodexOAuthClient) ExchangeCodeArgsForCall(i int) (context.Context, string, *codex.PKCECodes)

func (*CodexOAuthClient) ExchangeCodeCallCount added in v0.61.0

func (fake *CodexOAuthClient) ExchangeCodeCallCount() int

func (*CodexOAuthClient) ExchangeCodeCalls added in v0.61.0

func (fake *CodexOAuthClient) ExchangeCodeCalls(stub func(context.Context, string, *codex.PKCECodes) (*codex.TokenStorage, error))

func (*CodexOAuthClient) ExchangeCodeReturns added in v0.61.0

func (fake *CodexOAuthClient) ExchangeCodeReturns(result1 *codex.TokenStorage, result2 error)

func (*CodexOAuthClient) ExchangeCodeReturnsOnCall added in v0.61.0

func (fake *CodexOAuthClient) ExchangeCodeReturnsOnCall(i int, result1 *codex.TokenStorage, result2 error)

func (*CodexOAuthClient) Invocations added in v0.61.0

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

func (*CodexOAuthClient) Refresh added in v0.61.0

func (fake *CodexOAuthClient) Refresh(arg1 context.Context, arg2 string) (*codex.TokenStorage, error)

func (*CodexOAuthClient) RefreshArgsForCall added in v0.61.0

func (fake *CodexOAuthClient) RefreshArgsForCall(i int) (context.Context, string)

func (*CodexOAuthClient) RefreshCallCount added in v0.61.0

func (fake *CodexOAuthClient) RefreshCallCount() int

func (*CodexOAuthClient) RefreshCalls added in v0.61.0

func (fake *CodexOAuthClient) RefreshCalls(stub func(context.Context, string) (*codex.TokenStorage, error))

func (*CodexOAuthClient) RefreshReturns added in v0.61.0

func (fake *CodexOAuthClient) RefreshReturns(result1 *codex.TokenStorage, result2 error)

func (*CodexOAuthClient) RefreshReturnsOnCall added in v0.61.0

func (fake *CodexOAuthClient) RefreshReturnsOnCall(i int, result1 *codex.TokenStorage, result2 error)

type CodexTokenSource added in v0.61.0

type CodexTokenSource struct {
	CredentialsStub func(context.Context) (codex.Credentials, error)

	InvalidateStub func()
	// contains filtered or unexported fields
}

func (*CodexTokenSource) Credentials added in v0.61.0

func (fake *CodexTokenSource) Credentials(arg1 context.Context) (codex.Credentials, error)

func (*CodexTokenSource) CredentialsArgsForCall added in v0.61.0

func (fake *CodexTokenSource) CredentialsArgsForCall(i int) context.Context

func (*CodexTokenSource) CredentialsCallCount added in v0.61.0

func (fake *CodexTokenSource) CredentialsCallCount() int

func (*CodexTokenSource) CredentialsCalls added in v0.61.0

func (fake *CodexTokenSource) CredentialsCalls(stub func(context.Context) (codex.Credentials, error))

func (*CodexTokenSource) CredentialsReturns added in v0.61.0

func (fake *CodexTokenSource) CredentialsReturns(result1 codex.Credentials, result2 error)

func (*CodexTokenSource) CredentialsReturnsOnCall added in v0.61.0

func (fake *CodexTokenSource) CredentialsReturnsOnCall(i int, result1 codex.Credentials, result2 error)

func (*CodexTokenSource) Invalidate added in v0.61.0

func (fake *CodexTokenSource) Invalidate()

func (*CodexTokenSource) InvalidateCallCount added in v0.61.0

func (fake *CodexTokenSource) InvalidateCallCount() int

func (*CodexTokenSource) InvalidateCalls added in v0.61.0

func (fake *CodexTokenSource) InvalidateCalls(stub func())

func (*CodexTokenSource) Invocations added in v0.61.0

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

type WindowEligible

type WindowEligible struct {
	HasEligibleMemberStub func(context.Context) bool
	// contains filtered or unexported fields
}

func (*WindowEligible) HasEligibleMember

func (fake *WindowEligible) HasEligibleMember(arg1 context.Context) bool

func (*WindowEligible) HasEligibleMemberArgsForCall

func (fake *WindowEligible) HasEligibleMemberArgsForCall(i int) context.Context

func (*WindowEligible) HasEligibleMemberCallCount

func (fake *WindowEligible) HasEligibleMemberCallCount() int

func (*WindowEligible) HasEligibleMemberCalls

func (fake *WindowEligible) HasEligibleMemberCalls(stub func(context.Context) bool)

func (*WindowEligible) HasEligibleMemberReturns

func (fake *WindowEligible) HasEligibleMemberReturns(result1 bool)

func (*WindowEligible) HasEligibleMemberReturnsOnCall

func (fake *WindowEligible) HasEligibleMemberReturnsOnCall(i int, result1 bool)

func (*WindowEligible) Invocations

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

Jump to

Keyboard shortcuts

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