bindfakes

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: BSD-3-Clause 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 FakeBinder

type FakeBinder[T any] struct {
	BindStub func(context.Context) (T, error)
	// contains filtered or unexported fields
}

func (*FakeBinder[T]) Bind

func (fake *FakeBinder[T]) Bind(arg1 context.Context) (T, error)

func (*FakeBinder[T]) BindArgsForCall

func (fake *FakeBinder[T]) BindArgsForCall(i int) context.Context

func (*FakeBinder[T]) BindCallCount

func (fake *FakeBinder[T]) BindCallCount() int

func (*FakeBinder[T]) BindCalls

func (fake *FakeBinder[T]) BindCalls(stub func(context.Context) (T, error))

func (*FakeBinder[T]) BindReturns

func (fake *FakeBinder[T]) BindReturns(result1 T, result2 error)

func (*FakeBinder[T]) BindReturnsOnCall

func (fake *FakeBinder[T]) BindReturnsOnCall(i int, result1 T, result2 error)

func (*FakeBinder[T]) Invocations

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

Jump to

Keyboard shortcuts

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