mocks

package
v2.43.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type A added in v2.23.4

type A struct {
	mock.Mock
}

A is an autogenerated mock type for the A type

func NewA added in v2.23.4

func NewA(t interface {
	mock.TestingT
	Cleanup(func())
}) *A

NewA creates a new instance of A. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*A) Call added in v2.23.4

func (_m *A) Call() (test.B, error)

Call provides a mock function with given fields:

func (*A) EXPECT added in v2.23.4

func (_m *A) EXPECT() *A_Expecter

type A_Call_Call added in v2.23.4

type A_Call_Call struct {
	*mock.Call
}

A_Call_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Call'

func (*A_Call_Call) Return added in v2.23.4

func (_c *A_Call_Call) Return(_a0 test.B, _a1 error) *A_Call_Call

func (*A_Call_Call) Run added in v2.23.4

func (_c *A_Call_Call) Run(run func()) *A_Call_Call

func (*A_Call_Call) RunAndReturn added in v2.23.4

func (_c *A_Call_Call) RunAndReturn(run func() (test.B, error)) *A_Call_Call

type A_Expecter added in v2.23.4

type A_Expecter struct {
	// contains filtered or unexported fields
}

func (*A_Expecter) Call added in v2.23.4

func (_e *A_Expecter) Call() *A_Call_Call

Call is a helper method to define mock.On call

type AsyncProducer added in v2.23.4

type AsyncProducer struct {
	mock.Mock
}

AsyncProducer is an autogenerated mock type for the AsyncProducer type

func NewAsyncProducer added in v2.23.4

func NewAsyncProducer(t interface {
	mock.TestingT
	Cleanup(func())
}) *AsyncProducer

NewAsyncProducer creates a new instance of AsyncProducer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AsyncProducer) EXPECT added in v2.23.4

func (_m *AsyncProducer) EXPECT() *AsyncProducer_Expecter

func (*AsyncProducer) Input added in v2.23.4

func (_m *AsyncProducer) Input() chan<- bool

Input provides a mock function with given fields:

func (*AsyncProducer) Output added in v2.23.4

func (_m *AsyncProducer) Output() <-chan bool

Output provides a mock function with given fields:

func (*AsyncProducer) Whatever added in v2.23.4

func (_m *AsyncProducer) Whatever() chan bool

Whatever provides a mock function with given fields:

type AsyncProducer_Expecter added in v2.23.4

type AsyncProducer_Expecter struct {
	// contains filtered or unexported fields
}

func (*AsyncProducer_Expecter) Input added in v2.23.4

Input is a helper method to define mock.On call

func (*AsyncProducer_Expecter) Output added in v2.23.4

Output is a helper method to define mock.On call

func (*AsyncProducer_Expecter) Whatever added in v2.23.4

Whatever is a helper method to define mock.On call

type AsyncProducer_Input_Call added in v2.23.4

type AsyncProducer_Input_Call struct {
	*mock.Call
}

AsyncProducer_Input_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Input'

func (*AsyncProducer_Input_Call) Return added in v2.23.4

func (_c *AsyncProducer_Input_Call) Return(_a0 chan<- bool) *AsyncProducer_Input_Call

func (*AsyncProducer_Input_Call) Run added in v2.23.4

func (*AsyncProducer_Input_Call) RunAndReturn added in v2.23.4

func (_c *AsyncProducer_Input_Call) RunAndReturn(run func() chan<- bool) *AsyncProducer_Input_Call

type AsyncProducer_Output_Call added in v2.23.4

type AsyncProducer_Output_Call struct {
	*mock.Call
}

AsyncProducer_Output_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Output'

func (*AsyncProducer_Output_Call) Return added in v2.23.4

func (*AsyncProducer_Output_Call) Run added in v2.23.4

func (*AsyncProducer_Output_Call) RunAndReturn added in v2.23.4

func (_c *AsyncProducer_Output_Call) RunAndReturn(run func() <-chan bool) *AsyncProducer_Output_Call

type AsyncProducer_Whatever_Call added in v2.23.4

type AsyncProducer_Whatever_Call struct {
	*mock.Call
}

AsyncProducer_Whatever_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Whatever'

func (*AsyncProducer_Whatever_Call) Return added in v2.23.4

func (*AsyncProducer_Whatever_Call) Run added in v2.23.4

func (*AsyncProducer_Whatever_Call) RunAndReturn added in v2.23.4

func (_c *AsyncProducer_Whatever_Call) RunAndReturn(run func() chan bool) *AsyncProducer_Whatever_Call

type Blank added in v2.23.4

type Blank struct {
	mock.Mock
}

Blank is an autogenerated mock type for the Blank type

func NewBlank added in v2.23.4

func NewBlank(t interface {
	mock.TestingT
	Cleanup(func())
}) *Blank

NewBlank creates a new instance of Blank. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Blank) Create added in v2.23.4

func (_m *Blank) Create(x interface{}) error

Create provides a mock function with given fields: x

func (*Blank) EXPECT added in v2.23.4

func (_m *Blank) EXPECT() *Blank_Expecter

type Blank_Create_Call added in v2.23.4

type Blank_Create_Call struct {
	*mock.Call
}

Blank_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'

func (*Blank_Create_Call) Return added in v2.23.4

func (_c *Blank_Create_Call) Return(_a0 error) *Blank_Create_Call

func (*Blank_Create_Call) Run added in v2.23.4

func (_c *Blank_Create_Call) Run(run func(x interface{})) *Blank_Create_Call

func (*Blank_Create_Call) RunAndReturn added in v2.23.4

func (_c *Blank_Create_Call) RunAndReturn(run func(interface{}) error) *Blank_Create_Call

type Blank_Expecter added in v2.23.4

type Blank_Expecter struct {
	// contains filtered or unexported fields
}

func (*Blank_Expecter) Create added in v2.23.4

func (_e *Blank_Expecter) Create(x interface{}) *Blank_Create_Call

Create is a helper method to define mock.On call

  • x interface{}

type ConsulLock added in v2.23.4

type ConsulLock struct {
	mock.Mock
}

ConsulLock is an autogenerated mock type for the ConsulLock type

func NewConsulLock added in v2.23.4

func NewConsulLock(t interface {
	mock.TestingT
	Cleanup(func())
}) *ConsulLock

NewConsulLock creates a new instance of ConsulLock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ConsulLock) EXPECT added in v2.23.4

func (_m *ConsulLock) EXPECT() *ConsulLock_Expecter

func (*ConsulLock) Lock added in v2.23.4

func (_m *ConsulLock) Lock(_a0 <-chan struct{}) (<-chan struct{}, error)

Lock provides a mock function with given fields: _a0

func (*ConsulLock) Unlock added in v2.23.4

func (_m *ConsulLock) Unlock() error

Unlock provides a mock function with given fields:

type ConsulLock_Expecter added in v2.23.4

type ConsulLock_Expecter struct {
	// contains filtered or unexported fields
}

func (*ConsulLock_Expecter) Lock added in v2.23.4

func (_e *ConsulLock_Expecter) Lock(_a0 interface{}) *ConsulLock_Lock_Call

Lock is a helper method to define mock.On call

  • _a0 <-chan struct{}

func (*ConsulLock_Expecter) Unlock added in v2.23.4

Unlock is a helper method to define mock.On call

type ConsulLock_Lock_Call added in v2.23.4

type ConsulLock_Lock_Call struct {
	*mock.Call
}

ConsulLock_Lock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Lock'

func (*ConsulLock_Lock_Call) Return added in v2.23.4

func (_c *ConsulLock_Lock_Call) Return(_a0 <-chan struct{}, _a1 error) *ConsulLock_Lock_Call

func (*ConsulLock_Lock_Call) Run added in v2.23.4

func (_c *ConsulLock_Lock_Call) Run(run func(_a0 <-chan struct{})) *ConsulLock_Lock_Call

func (*ConsulLock_Lock_Call) RunAndReturn added in v2.23.4

func (_c *ConsulLock_Lock_Call) RunAndReturn(run func(<-chan struct{}) (<-chan struct{}, error)) *ConsulLock_Lock_Call

type ConsulLock_Unlock_Call added in v2.23.4

type ConsulLock_Unlock_Call struct {
	*mock.Call
}

ConsulLock_Unlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unlock'

func (*ConsulLock_Unlock_Call) Return added in v2.23.4

func (*ConsulLock_Unlock_Call) Run added in v2.23.4

func (_c *ConsulLock_Unlock_Call) Run(run func()) *ConsulLock_Unlock_Call

func (*ConsulLock_Unlock_Call) RunAndReturn added in v2.23.4

func (_c *ConsulLock_Unlock_Call) RunAndReturn(run func() error) *ConsulLock_Unlock_Call

type EmbeddedGet added in v2.23.4

type EmbeddedGet[T constraints.Signed] struct {
	mock.Mock
}

EmbeddedGet is an autogenerated mock type for the EmbeddedGet type

func NewEmbeddedGet added in v2.23.4

func NewEmbeddedGet[T constraints.Signed](t interface {
	mock.TestingT
	Cleanup(func())
}) *EmbeddedGet[T]

NewEmbeddedGet creates a new instance of EmbeddedGet. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EmbeddedGet[T]) EXPECT added in v2.23.4

func (_m *EmbeddedGet[T]) EXPECT() *EmbeddedGet_Expecter[T]

func (*EmbeddedGet[T]) Get added in v2.23.4

func (_m *EmbeddedGet[T]) Get() T

Get provides a mock function with given fields:

type EmbeddedGet_Expecter added in v2.23.4

type EmbeddedGet_Expecter[T constraints.Signed] struct {
	// contains filtered or unexported fields
}

func (*EmbeddedGet_Expecter[T]) Get added in v2.23.4

func (_e *EmbeddedGet_Expecter[T]) Get() *EmbeddedGet_Get_Call[T]

Get is a helper method to define mock.On call

type EmbeddedGet_Get_Call added in v2.23.4

type EmbeddedGet_Get_Call[T constraints.Signed] struct {
	*mock.Call
}

EmbeddedGet_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*EmbeddedGet_Get_Call[T]) Return added in v2.23.4

func (_c *EmbeddedGet_Get_Call[T]) Return(_a0 T) *EmbeddedGet_Get_Call[T]

func (*EmbeddedGet_Get_Call[T]) Run added in v2.23.4

func (_c *EmbeddedGet_Get_Call[T]) Run(run func()) *EmbeddedGet_Get_Call[T]

func (*EmbeddedGet_Get_Call[T]) RunAndReturn added in v2.23.4

func (_c *EmbeddedGet_Get_Call[T]) RunAndReturn(run func() T) *EmbeddedGet_Get_Call[T]

type Example added in v2.23.4

type Example struct {
	mock.Mock
}

Example is an autogenerated mock type for the Example type

func NewExample added in v2.23.4

func NewExample(t interface {
	mock.TestingT
	Cleanup(func())
}) *Example

NewExample creates a new instance of Example. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Example) A added in v2.23.4

func (_m *Example) A() http.Flusher

A provides a mock function with given fields:

func (*Example) B added in v2.23.4

func (_m *Example) B(_a0 string) fixtureshttp.MyStruct

B provides a mock function with given fields: _a0

func (*Example) EXPECT added in v2.23.4

func (_m *Example) EXPECT() *Example_Expecter

type Example_A_Call added in v2.23.4

type Example_A_Call struct {
	*mock.Call
}

Example_A_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'A'

func (*Example_A_Call) Return added in v2.23.4

func (_c *Example_A_Call) Return(_a0 http.Flusher) *Example_A_Call

func (*Example_A_Call) Run added in v2.23.4

func (_c *Example_A_Call) Run(run func()) *Example_A_Call

func (*Example_A_Call) RunAndReturn added in v2.23.4

func (_c *Example_A_Call) RunAndReturn(run func() http.Flusher) *Example_A_Call

type Example_B_Call added in v2.23.4

type Example_B_Call struct {
	*mock.Call
}

Example_B_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'B'

func (*Example_B_Call) Return added in v2.23.4

func (*Example_B_Call) Run added in v2.23.4

func (_c *Example_B_Call) Run(run func(_a0 string)) *Example_B_Call

func (*Example_B_Call) RunAndReturn added in v2.23.4

func (_c *Example_B_Call) RunAndReturn(run func(string) fixtureshttp.MyStruct) *Example_B_Call

type Example_Expecter added in v2.23.4

type Example_Expecter struct {
	// contains filtered or unexported fields
}

func (*Example_Expecter) A added in v2.23.4

A is a helper method to define mock.On call

func (*Example_Expecter) B added in v2.23.4

func (_e *Example_Expecter) B(_a0 interface{}) *Example_B_Call

B is a helper method to define mock.On call

  • _a0 string

type Expecter

type Expecter struct {
	mock.Mock
}

Expecter is an autogenerated mock type for the Expecter type

func NewExpecter

func NewExpecter(t interface {
	mock.TestingT
	Cleanup(func())
}) *Expecter

NewExpecter creates a new instance of Expecter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Expecter) EXPECT

func (_m *Expecter) EXPECT() *Expecter_Expecter

func (*Expecter) ManyArgsReturns

func (_m *Expecter) ManyArgsReturns(str string, i int) ([]string, error)

ManyArgsReturns provides a mock function with given fields: str, i

func (*Expecter) NoArg

func (_m *Expecter) NoArg() string

NoArg provides a mock function with given fields:

func (*Expecter) NoReturn

func (_m *Expecter) NoReturn(str string)

NoReturn provides a mock function with given fields: str

func (*Expecter) Variadic

func (_m *Expecter) Variadic(ints ...int) error

Variadic provides a mock function with given fields: ints

func (*Expecter) VariadicMany

func (_m *Expecter) VariadicMany(i int, a string, intfs ...interface{}) error

VariadicMany provides a mock function with given fields: i, a, intfs

type ExpecterAndRolledVariadic added in v2.23.4

type ExpecterAndRolledVariadic struct {
	mock.Mock
}

ExpecterAndRolledVariadic is an autogenerated mock type for the Expecter type

func NewExpecterAndRolledVariadic added in v2.23.4

func NewExpecterAndRolledVariadic(t interface {
	mock.TestingT
	Cleanup(func())
}) *ExpecterAndRolledVariadic

NewExpecterAndRolledVariadic creates a new instance of ExpecterAndRolledVariadic. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ExpecterAndRolledVariadic) EXPECT added in v2.23.4

func (*ExpecterAndRolledVariadic) ManyArgsReturns added in v2.23.4

func (_m *ExpecterAndRolledVariadic) ManyArgsReturns(str string, i int) ([]string, error)

ManyArgsReturns provides a mock function with given fields: str, i

func (*ExpecterAndRolledVariadic) NoArg added in v2.23.4

func (_m *ExpecterAndRolledVariadic) NoArg() string

NoArg provides a mock function with given fields:

func (*ExpecterAndRolledVariadic) NoReturn added in v2.23.4

func (_m *ExpecterAndRolledVariadic) NoReturn(str string)

NoReturn provides a mock function with given fields: str

func (*ExpecterAndRolledVariadic) Variadic added in v2.23.4

func (_m *ExpecterAndRolledVariadic) Variadic(ints ...int) error

Variadic provides a mock function with given fields: ints

func (*ExpecterAndRolledVariadic) VariadicMany added in v2.23.4

func (_m *ExpecterAndRolledVariadic) VariadicMany(i int, a string, intfs ...interface{}) error

VariadicMany provides a mock function with given fields: i, a, intfs

type ExpecterAndRolledVariadic_Expecter added in v2.23.4

type ExpecterAndRolledVariadic_Expecter struct {
	// contains filtered or unexported fields
}

func (*ExpecterAndRolledVariadic_Expecter) ManyArgsReturns added in v2.23.4

func (_e *ExpecterAndRolledVariadic_Expecter) ManyArgsReturns(str interface{}, i interface{}) *ExpecterAndRolledVariadic_ManyArgsReturns_Call

ManyArgsReturns is a helper method to define mock.On call

  • str string
  • i int

func (*ExpecterAndRolledVariadic_Expecter) NoArg added in v2.23.4

NoArg is a helper method to define mock.On call

func (*ExpecterAndRolledVariadic_Expecter) NoReturn added in v2.23.4

NoReturn is a helper method to define mock.On call

  • str string

func (*ExpecterAndRolledVariadic_Expecter) Variadic added in v2.23.4

Variadic is a helper method to define mock.On call

  • ints ...int

func (*ExpecterAndRolledVariadic_Expecter) VariadicMany added in v2.23.4

func (_e *ExpecterAndRolledVariadic_Expecter) VariadicMany(i interface{}, a interface{}, intfs ...interface{}) *ExpecterAndRolledVariadic_VariadicMany_Call

VariadicMany is a helper method to define mock.On call

  • i int
  • a string
  • intfs ...interface{}

type ExpecterAndRolledVariadic_ManyArgsReturns_Call added in v2.23.4

type ExpecterAndRolledVariadic_ManyArgsReturns_Call struct {
	*mock.Call
}

ExpecterAndRolledVariadic_ManyArgsReturns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ManyArgsReturns'

func (*ExpecterAndRolledVariadic_ManyArgsReturns_Call) Return added in v2.23.4

func (*ExpecterAndRolledVariadic_ManyArgsReturns_Call) Run added in v2.23.4

func (*ExpecterAndRolledVariadic_ManyArgsReturns_Call) RunAndReturn added in v2.23.4

type ExpecterAndRolledVariadic_NoArg_Call added in v2.23.4

type ExpecterAndRolledVariadic_NoArg_Call struct {
	*mock.Call
}

ExpecterAndRolledVariadic_NoArg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NoArg'

func (*ExpecterAndRolledVariadic_NoArg_Call) Return added in v2.23.4

func (*ExpecterAndRolledVariadic_NoArg_Call) Run added in v2.23.4

func (*ExpecterAndRolledVariadic_NoArg_Call) RunAndReturn added in v2.23.4

type ExpecterAndRolledVariadic_NoReturn_Call added in v2.23.4

type ExpecterAndRolledVariadic_NoReturn_Call struct {
	*mock.Call
}

ExpecterAndRolledVariadic_NoReturn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NoReturn'

func (*ExpecterAndRolledVariadic_NoReturn_Call) Return added in v2.23.4

func (*ExpecterAndRolledVariadic_NoReturn_Call) Run added in v2.23.4

func (*ExpecterAndRolledVariadic_NoReturn_Call) RunAndReturn added in v2.23.4

type ExpecterAndRolledVariadic_VariadicMany_Call added in v2.23.4

type ExpecterAndRolledVariadic_VariadicMany_Call struct {
	*mock.Call
}

ExpecterAndRolledVariadic_VariadicMany_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VariadicMany'

func (*ExpecterAndRolledVariadic_VariadicMany_Call) Return added in v2.23.4

func (*ExpecterAndRolledVariadic_VariadicMany_Call) Run added in v2.23.4

func (*ExpecterAndRolledVariadic_VariadicMany_Call) RunAndReturn added in v2.23.4

type ExpecterAndRolledVariadic_Variadic_Call added in v2.23.4

type ExpecterAndRolledVariadic_Variadic_Call struct {
	*mock.Call
}

ExpecterAndRolledVariadic_Variadic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Variadic'

func (*ExpecterAndRolledVariadic_Variadic_Call) Return added in v2.23.4

func (*ExpecterAndRolledVariadic_Variadic_Call) Run added in v2.23.4

func (*ExpecterAndRolledVariadic_Variadic_Call) RunAndReturn added in v2.23.4

type Expecter_Expecter

type Expecter_Expecter struct {
	// contains filtered or unexported fields
}

func (*Expecter_Expecter) ManyArgsReturns

func (_e *Expecter_Expecter) ManyArgsReturns(str interface{}, i interface{}) *Expecter_ManyArgsReturns_Call

ManyArgsReturns is a helper method to define mock.On call

  • str string
  • i int

func (*Expecter_Expecter) NoArg

NoArg is a helper method to define mock.On call

func (*Expecter_Expecter) NoReturn

func (_e *Expecter_Expecter) NoReturn(str interface{}) *Expecter_NoReturn_Call

NoReturn is a helper method to define mock.On call

  • str string

func (*Expecter_Expecter) Variadic

func (_e *Expecter_Expecter) Variadic(ints ...interface{}) *Expecter_Variadic_Call

Variadic is a helper method to define mock.On call

  • ints ...int

func (*Expecter_Expecter) VariadicMany

func (_e *Expecter_Expecter) VariadicMany(i interface{}, a interface{}, intfs ...interface{}) *Expecter_VariadicMany_Call

VariadicMany is a helper method to define mock.On call

  • i int
  • a string
  • intfs ...interface{}

type Expecter_ManyArgsReturns_Call

type Expecter_ManyArgsReturns_Call struct {
	*mock.Call
}

Expecter_ManyArgsReturns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ManyArgsReturns'

func (*Expecter_ManyArgsReturns_Call) Return

func (*Expecter_ManyArgsReturns_Call) Run

func (*Expecter_ManyArgsReturns_Call) RunAndReturn

type Expecter_NoArg_Call

type Expecter_NoArg_Call struct {
	*mock.Call
}

Expecter_NoArg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NoArg'

func (*Expecter_NoArg_Call) Return

func (*Expecter_NoArg_Call) Run

func (_c *Expecter_NoArg_Call) Run(run func()) *Expecter_NoArg_Call

func (*Expecter_NoArg_Call) RunAndReturn

func (_c *Expecter_NoArg_Call) RunAndReturn(run func() string) *Expecter_NoArg_Call

type Expecter_NoReturn_Call

type Expecter_NoReturn_Call struct {
	*mock.Call
}

Expecter_NoReturn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NoReturn'

func (*Expecter_NoReturn_Call) Return

func (*Expecter_NoReturn_Call) Run

func (_c *Expecter_NoReturn_Call) Run(run func(str string)) *Expecter_NoReturn_Call

func (*Expecter_NoReturn_Call) RunAndReturn

func (_c *Expecter_NoReturn_Call) RunAndReturn(run func(string)) *Expecter_NoReturn_Call

type Expecter_VariadicMany_Call

type Expecter_VariadicMany_Call struct {
	*mock.Call
}

Expecter_VariadicMany_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VariadicMany'

func (*Expecter_VariadicMany_Call) Return

func (*Expecter_VariadicMany_Call) Run

func (_c *Expecter_VariadicMany_Call) Run(run func(i int, a string, intfs ...interface{})) *Expecter_VariadicMany_Call

func (*Expecter_VariadicMany_Call) RunAndReturn

func (_c *Expecter_VariadicMany_Call) RunAndReturn(run func(int, string, ...interface{}) error) *Expecter_VariadicMany_Call

type Expecter_Variadic_Call

type Expecter_Variadic_Call struct {
	*mock.Call
}

Expecter_Variadic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Variadic'

func (*Expecter_Variadic_Call) Return

func (*Expecter_Variadic_Call) Run

func (_c *Expecter_Variadic_Call) Run(run func(ints ...int)) *Expecter_Variadic_Call

func (*Expecter_Variadic_Call) RunAndReturn

func (_c *Expecter_Variadic_Call) RunAndReturn(run func(...int) error) *Expecter_Variadic_Call

type Fooer added in v2.23.4

type Fooer struct {
	mock.Mock
}

Fooer is an autogenerated mock type for the Fooer type

func NewFooer added in v2.23.4

func NewFooer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Fooer

NewFooer creates a new instance of Fooer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Fooer) Bar added in v2.23.4

func (_m *Fooer) Bar(f func([]int))

Bar provides a mock function with given fields: f

func (*Fooer) Baz added in v2.23.4

func (_m *Fooer) Baz(path string) func(string) string

Baz provides a mock function with given fields: path

func (*Fooer) EXPECT added in v2.23.4

func (_m *Fooer) EXPECT() *Fooer_Expecter

func (*Fooer) Foo added in v2.23.4

func (_m *Fooer) Foo(f func(string) string) error

Foo provides a mock function with given fields: f

type Fooer_Bar_Call added in v2.23.4

type Fooer_Bar_Call struct {
	*mock.Call
}

Fooer_Bar_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bar'

func (*Fooer_Bar_Call) Return added in v2.23.4

func (_c *Fooer_Bar_Call) Return() *Fooer_Bar_Call

func (*Fooer_Bar_Call) Run added in v2.23.4

func (_c *Fooer_Bar_Call) Run(run func(f func([]int))) *Fooer_Bar_Call

func (*Fooer_Bar_Call) RunAndReturn added in v2.23.4

func (_c *Fooer_Bar_Call) RunAndReturn(run func(func([]int))) *Fooer_Bar_Call

type Fooer_Baz_Call added in v2.23.4

type Fooer_Baz_Call struct {
	*mock.Call
}

Fooer_Baz_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Baz'

func (*Fooer_Baz_Call) Return added in v2.23.4

func (_c *Fooer_Baz_Call) Return(_a0 func(string) string) *Fooer_Baz_Call

func (*Fooer_Baz_Call) Run added in v2.23.4

func (_c *Fooer_Baz_Call) Run(run func(path string)) *Fooer_Baz_Call

func (*Fooer_Baz_Call) RunAndReturn added in v2.23.4

func (_c *Fooer_Baz_Call) RunAndReturn(run func(string) func(string) string) *Fooer_Baz_Call

type Fooer_Expecter added in v2.23.4

type Fooer_Expecter struct {
	// contains filtered or unexported fields
}

func (*Fooer_Expecter) Bar added in v2.23.4

func (_e *Fooer_Expecter) Bar(f interface{}) *Fooer_Bar_Call

Bar is a helper method to define mock.On call

  • f func([]int)

func (*Fooer_Expecter) Baz added in v2.23.4

func (_e *Fooer_Expecter) Baz(path interface{}) *Fooer_Baz_Call

Baz is a helper method to define mock.On call

  • path string

func (*Fooer_Expecter) Foo added in v2.23.4

func (_e *Fooer_Expecter) Foo(f interface{}) *Fooer_Foo_Call

Foo is a helper method to define mock.On call

  • f func(string) string

type Fooer_Foo_Call added in v2.23.4

type Fooer_Foo_Call struct {
	*mock.Call
}

Fooer_Foo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Foo'

func (*Fooer_Foo_Call) Return added in v2.23.4

func (_c *Fooer_Foo_Call) Return(_a0 error) *Fooer_Foo_Call

func (*Fooer_Foo_Call) Run added in v2.23.4

func (_c *Fooer_Foo_Call) Run(run func(f func(string) string)) *Fooer_Foo_Call

func (*Fooer_Foo_Call) RunAndReturn added in v2.23.4

func (_c *Fooer_Foo_Call) RunAndReturn(run func(func(string) string) error) *Fooer_Foo_Call

type FuncArgsCollision added in v2.23.4

type FuncArgsCollision struct {
	mock.Mock
}

FuncArgsCollision is an autogenerated mock type for the FuncArgsCollision type

func NewFuncArgsCollision added in v2.23.4

func NewFuncArgsCollision(t interface {
	mock.TestingT
	Cleanup(func())
}) *FuncArgsCollision

NewFuncArgsCollision creates a new instance of FuncArgsCollision. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FuncArgsCollision) EXPECT added in v2.23.4

func (*FuncArgsCollision) Foo added in v2.23.4

func (_m *FuncArgsCollision) Foo(ret interface{}) error

Foo provides a mock function with given fields: ret

type FuncArgsCollision_Expecter added in v2.23.4

type FuncArgsCollision_Expecter struct {
	// contains filtered or unexported fields
}

func (*FuncArgsCollision_Expecter) Foo added in v2.23.4

func (_e *FuncArgsCollision_Expecter) Foo(ret interface{}) *FuncArgsCollision_Foo_Call

Foo is a helper method to define mock.On call

  • ret interface{}

type FuncArgsCollision_Foo_Call added in v2.23.4

type FuncArgsCollision_Foo_Call struct {
	*mock.Call
}

FuncArgsCollision_Foo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Foo'

func (*FuncArgsCollision_Foo_Call) Return added in v2.23.4

func (*FuncArgsCollision_Foo_Call) Run added in v2.23.4

func (_c *FuncArgsCollision_Foo_Call) Run(run func(ret interface{})) *FuncArgsCollision_Foo_Call

func (*FuncArgsCollision_Foo_Call) RunAndReturn added in v2.23.4

func (_c *FuncArgsCollision_Foo_Call) RunAndReturn(run func(interface{}) error) *FuncArgsCollision_Foo_Call

type GetGeneric added in v2.23.4

type GetGeneric[T constraints.Integer] struct {
	mock.Mock
}

GetGeneric is an autogenerated mock type for the GetGeneric type

func NewGetGeneric added in v2.23.4

func NewGetGeneric[T constraints.Integer](t interface {
	mock.TestingT
	Cleanup(func())
}) *GetGeneric[T]

NewGetGeneric creates a new instance of GetGeneric. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GetGeneric[T]) EXPECT added in v2.23.4

func (_m *GetGeneric[T]) EXPECT() *GetGeneric_Expecter[T]

func (*GetGeneric[T]) Get added in v2.23.4

func (_m *GetGeneric[T]) Get() T

Get provides a mock function with given fields:

type GetGeneric_Expecter added in v2.23.4

type GetGeneric_Expecter[T constraints.Integer] struct {
	// contains filtered or unexported fields
}

func (*GetGeneric_Expecter[T]) Get added in v2.23.4

func (_e *GetGeneric_Expecter[T]) Get() *GetGeneric_Get_Call[T]

Get is a helper method to define mock.On call

type GetGeneric_Get_Call added in v2.23.4

type GetGeneric_Get_Call[T constraints.Integer] struct {
	*mock.Call
}

GetGeneric_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*GetGeneric_Get_Call[T]) Return added in v2.23.4

func (_c *GetGeneric_Get_Call[T]) Return(_a0 T) *GetGeneric_Get_Call[T]

func (*GetGeneric_Get_Call[T]) Run added in v2.23.4

func (_c *GetGeneric_Get_Call[T]) Run(run func()) *GetGeneric_Get_Call[T]

func (*GetGeneric_Get_Call[T]) RunAndReturn added in v2.23.4

func (_c *GetGeneric_Get_Call[T]) RunAndReturn(run func() T) *GetGeneric_Get_Call[T]

type GetInt added in v2.23.4

type GetInt struct {
	mock.Mock
}

GetInt is an autogenerated mock type for the GetInt type

func NewGetInt added in v2.23.4

func NewGetInt(t interface {
	mock.TestingT
	Cleanup(func())
}) *GetInt

NewGetInt creates a new instance of GetInt. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GetInt) EXPECT added in v2.23.4

func (_m *GetInt) EXPECT() *GetInt_Expecter

func (*GetInt) Get added in v2.23.4

func (_m *GetInt) Get() int

Get provides a mock function with given fields:

type GetInt_Expecter added in v2.23.4

type GetInt_Expecter struct {
	// contains filtered or unexported fields
}

func (*GetInt_Expecter) Get added in v2.23.4

func (_e *GetInt_Expecter) Get() *GetInt_Get_Call

Get is a helper method to define mock.On call

type GetInt_Get_Call added in v2.23.4

type GetInt_Get_Call struct {
	*mock.Call
}

GetInt_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*GetInt_Get_Call) Return added in v2.23.4

func (_c *GetInt_Get_Call) Return(_a0 int) *GetInt_Get_Call

func (*GetInt_Get_Call) Run added in v2.23.4

func (_c *GetInt_Get_Call) Run(run func()) *GetInt_Get_Call

func (*GetInt_Get_Call) RunAndReturn added in v2.23.4

func (_c *GetInt_Get_Call) RunAndReturn(run func() int) *GetInt_Get_Call

type HasConflictingNestedImports added in v2.23.4

type HasConflictingNestedImports struct {
	mock.Mock
}

HasConflictingNestedImports is an autogenerated mock type for the HasConflictingNestedImports type

func NewHasConflictingNestedImports added in v2.23.4

func NewHasConflictingNestedImports(t interface {
	mock.TestingT
	Cleanup(func())
}) *HasConflictingNestedImports

NewHasConflictingNestedImports creates a new instance of HasConflictingNestedImports. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*HasConflictingNestedImports) EXPECT added in v2.23.4

func (*HasConflictingNestedImports) Get added in v2.23.4

Get provides a mock function with given fields: path

func (*HasConflictingNestedImports) Z added in v2.23.4

Z provides a mock function with given fields:

type HasConflictingNestedImports_Expecter added in v2.23.4

type HasConflictingNestedImports_Expecter struct {
	// contains filtered or unexported fields
}

func (*HasConflictingNestedImports_Expecter) Get added in v2.23.4

Get is a helper method to define mock.On call

  • path string

func (*HasConflictingNestedImports_Expecter) Z added in v2.23.4

Z is a helper method to define mock.On call

type HasConflictingNestedImports_Get_Call added in v2.23.4

type HasConflictingNestedImports_Get_Call struct {
	*mock.Call
}

HasConflictingNestedImports_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*HasConflictingNestedImports_Get_Call) Return added in v2.23.4

func (*HasConflictingNestedImports_Get_Call) Run added in v2.23.4

func (*HasConflictingNestedImports_Get_Call) RunAndReturn added in v2.23.4

type HasConflictingNestedImports_Z_Call added in v2.23.4

type HasConflictingNestedImports_Z_Call struct {
	*mock.Call
}

HasConflictingNestedImports_Z_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Z'

func (*HasConflictingNestedImports_Z_Call) Return added in v2.23.4

func (*HasConflictingNestedImports_Z_Call) Run added in v2.23.4

func (*HasConflictingNestedImports_Z_Call) RunAndReturn added in v2.23.4

type ImportsSameAsPackage added in v2.23.4

type ImportsSameAsPackage struct {
	mock.Mock
}

ImportsSameAsPackage is an autogenerated mock type for the ImportsSameAsPackage type

func NewImportsSameAsPackage added in v2.23.4

func NewImportsSameAsPackage(t interface {
	mock.TestingT
	Cleanup(func())
}) *ImportsSameAsPackage

NewImportsSameAsPackage creates a new instance of ImportsSameAsPackage. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ImportsSameAsPackage) A added in v2.23.4

func (_m *ImportsSameAsPackage) A() test.B

A provides a mock function with given fields:

func (*ImportsSameAsPackage) B added in v2.23.4

B provides a mock function with given fields:

func (*ImportsSameAsPackage) C added in v2.23.4

func (_m *ImportsSameAsPackage) C(_a0 fixtures.C)

C provides a mock function with given fields: _a0

func (*ImportsSameAsPackage) EXPECT added in v2.23.4

type ImportsSameAsPackage_A_Call added in v2.23.4

type ImportsSameAsPackage_A_Call struct {
	*mock.Call
}

ImportsSameAsPackage_A_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'A'

func (*ImportsSameAsPackage_A_Call) Return added in v2.23.4

func (*ImportsSameAsPackage_A_Call) Run added in v2.23.4

func (*ImportsSameAsPackage_A_Call) RunAndReturn added in v2.23.4

func (_c *ImportsSameAsPackage_A_Call) RunAndReturn(run func() test.B) *ImportsSameAsPackage_A_Call

type ImportsSameAsPackage_B_Call added in v2.23.4

type ImportsSameAsPackage_B_Call struct {
	*mock.Call
}

ImportsSameAsPackage_B_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'B'

func (*ImportsSameAsPackage_B_Call) Return added in v2.23.4

func (*ImportsSameAsPackage_B_Call) Run added in v2.23.4

func (*ImportsSameAsPackage_B_Call) RunAndReturn added in v2.23.4

type ImportsSameAsPackage_C_Call added in v2.23.4

type ImportsSameAsPackage_C_Call struct {
	*mock.Call
}

ImportsSameAsPackage_C_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'C'

func (*ImportsSameAsPackage_C_Call) Return added in v2.23.4

func (*ImportsSameAsPackage_C_Call) Run added in v2.23.4

func (*ImportsSameAsPackage_C_Call) RunAndReturn added in v2.23.4

type ImportsSameAsPackage_Expecter added in v2.23.4

type ImportsSameAsPackage_Expecter struct {
	// contains filtered or unexported fields
}

func (*ImportsSameAsPackage_Expecter) A added in v2.23.4

A is a helper method to define mock.On call

func (*ImportsSameAsPackage_Expecter) B added in v2.23.4

B is a helper method to define mock.On call

func (*ImportsSameAsPackage_Expecter) C added in v2.23.4

C is a helper method to define mock.On call

  • _a0 fixtures.C

type Issue766 added in v2.42.3

type Issue766 struct {
	mock.Mock
}

Issue766 is an autogenerated mock type for the Issue766 type

func NewIssue766 added in v2.42.3

func NewIssue766(t interface {
	mock.TestingT
	Cleanup(func())
}) *Issue766

NewIssue766 creates a new instance of Issue766. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Issue766) EXPECT added in v2.42.3

func (_m *Issue766) EXPECT() *Issue766_Expecter

func (*Issue766) FetchData added in v2.42.3

func (_m *Issue766) FetchData(fetchFunc func(...int) ([]int, error)) ([]int, error)

FetchData provides a mock function with given fields: fetchFunc

type Issue766_Expecter added in v2.42.3

type Issue766_Expecter struct {
	// contains filtered or unexported fields
}

func (*Issue766_Expecter) FetchData added in v2.42.3

func (_e *Issue766_Expecter) FetchData(fetchFunc interface{}) *Issue766_FetchData_Call

FetchData is a helper method to define mock.On call

  • fetchFunc func(...int)([]int , error)

type Issue766_FetchData_Call added in v2.42.3

type Issue766_FetchData_Call struct {
	*mock.Call
}

Issue766_FetchData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FetchData'

func (*Issue766_FetchData_Call) Return added in v2.42.3

func (_c *Issue766_FetchData_Call) Return(_a0 []int, _a1 error) *Issue766_FetchData_Call

func (*Issue766_FetchData_Call) Run added in v2.42.3

func (_c *Issue766_FetchData_Call) Run(run func(fetchFunc func(...int) ([]int, error))) *Issue766_FetchData_Call

func (*Issue766_FetchData_Call) RunAndReturn added in v2.42.3

func (_c *Issue766_FetchData_Call) RunAndReturn(run func(func(...int) ([]int, error)) ([]int, error)) *Issue766_FetchData_Call

type KeyManager added in v2.23.4

type KeyManager struct {
	mock.Mock
}

KeyManager is an autogenerated mock type for the KeyManager type

func NewKeyManager added in v2.23.4

func NewKeyManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *KeyManager

NewKeyManager creates a new instance of KeyManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*KeyManager) EXPECT added in v2.23.4

func (_m *KeyManager) EXPECT() *KeyManager_Expecter

func (*KeyManager) GetKey added in v2.23.4

func (_m *KeyManager) GetKey(_a0 string, _a1 uint16) ([]byte, *test.Err)

GetKey provides a mock function with given fields: _a0, _a1

type KeyManager_Expecter added in v2.23.4

type KeyManager_Expecter struct {
	// contains filtered or unexported fields
}

func (*KeyManager_Expecter) GetKey added in v2.23.4

func (_e *KeyManager_Expecter) GetKey(_a0 interface{}, _a1 interface{}) *KeyManager_GetKey_Call

GetKey is a helper method to define mock.On call

  • _a0 string
  • _a1 uint16

type KeyManager_GetKey_Call added in v2.23.4

type KeyManager_GetKey_Call struct {
	*mock.Call
}

KeyManager_GetKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKey'

func (*KeyManager_GetKey_Call) Return added in v2.23.4

func (_c *KeyManager_GetKey_Call) Return(_a0 []byte, _a1 *test.Err) *KeyManager_GetKey_Call

func (*KeyManager_GetKey_Call) Run added in v2.23.4

func (_c *KeyManager_GetKey_Call) Run(run func(_a0 string, _a1 uint16)) *KeyManager_GetKey_Call

func (*KeyManager_GetKey_Call) RunAndReturn added in v2.23.4

func (_c *KeyManager_GetKey_Call) RunAndReturn(run func(string, uint16) ([]byte, *test.Err)) *KeyManager_GetKey_Call

type MapFunc added in v2.23.4

type MapFunc struct {
	mock.Mock
}

MapFunc is an autogenerated mock type for the MapFunc type

func NewMapFunc added in v2.23.4

func NewMapFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *MapFunc

NewMapFunc creates a new instance of MapFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MapFunc) EXPECT added in v2.23.4

func (_m *MapFunc) EXPECT() *MapFunc_Expecter

func (*MapFunc) Get added in v2.23.4

func (_m *MapFunc) Get(m map[string]func(string) string) error

Get provides a mock function with given fields: m

type MapFunc_Expecter added in v2.23.4

type MapFunc_Expecter struct {
	// contains filtered or unexported fields
}

func (*MapFunc_Expecter) Get added in v2.23.4

func (_e *MapFunc_Expecter) Get(m interface{}) *MapFunc_Get_Call

Get is a helper method to define mock.On call

  • m map[string]func(string) string

type MapFunc_Get_Call added in v2.23.4

type MapFunc_Get_Call struct {
	*mock.Call
}

MapFunc_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*MapFunc_Get_Call) Return added in v2.23.4

func (_c *MapFunc_Get_Call) Return(_a0 error) *MapFunc_Get_Call

func (*MapFunc_Get_Call) Run added in v2.23.4

func (_c *MapFunc_Get_Call) Run(run func(m map[string]func(string) string)) *MapFunc_Get_Call

func (*MapFunc_Get_Call) RunAndReturn added in v2.23.4

func (_c *MapFunc_Get_Call) RunAndReturn(run func(map[string]func(string) string) error) *MapFunc_Get_Call

type MapToInterface added in v2.23.4

type MapToInterface struct {
	mock.Mock
}

MapToInterface is an autogenerated mock type for the MapToInterface type

func NewMapToInterface added in v2.23.4

func NewMapToInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MapToInterface

NewMapToInterface creates a new instance of MapToInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MapToInterface) EXPECT added in v2.23.4

func (*MapToInterface) Foo added in v2.23.4

func (_m *MapToInterface) Foo(arg1 ...map[string]interface{})

Foo provides a mock function with given fields: arg1

type MapToInterface_Expecter added in v2.23.4

type MapToInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*MapToInterface_Expecter) Foo added in v2.23.4

func (_e *MapToInterface_Expecter) Foo(arg1 ...interface{}) *MapToInterface_Foo_Call

Foo is a helper method to define mock.On call

  • arg1 ...map[string]interface{}

type MapToInterface_Foo_Call added in v2.23.4

type MapToInterface_Foo_Call struct {
	*mock.Call
}

MapToInterface_Foo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Foo'

func (*MapToInterface_Foo_Call) Return added in v2.23.4

func (*MapToInterface_Foo_Call) Run added in v2.23.4

func (_c *MapToInterface_Foo_Call) Run(run func(arg1 ...map[string]interface{})) *MapToInterface_Foo_Call

func (*MapToInterface_Foo_Call) RunAndReturn added in v2.23.4

func (_c *MapToInterface_Foo_Call) RunAndReturn(run func(...map[string]interface{})) *MapToInterface_Foo_Call

type MyReader added in v2.23.4

type MyReader struct {
	mock.Mock
}

MyReader is an autogenerated mock type for the MyReader type

func NewMyReader added in v2.23.4

func NewMyReader(t interface {
	mock.TestingT
	Cleanup(func())
}) *MyReader

NewMyReader creates a new instance of MyReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MyReader) EXPECT added in v2.23.4

func (_m *MyReader) EXPECT() *MyReader_Expecter

func (*MyReader) Read added in v2.23.4

func (_m *MyReader) Read(p []byte) (int, error)

Read provides a mock function with given fields: p

type MyReader_Expecter added in v2.23.4

type MyReader_Expecter struct {
	// contains filtered or unexported fields
}

func (*MyReader_Expecter) Read added in v2.23.4

func (_e *MyReader_Expecter) Read(p interface{}) *MyReader_Read_Call

Read is a helper method to define mock.On call

  • p []byte

type MyReader_Read_Call added in v2.23.4

type MyReader_Read_Call struct {
	*mock.Call
}

MyReader_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'

func (*MyReader_Read_Call) Return added in v2.23.4

func (_c *MyReader_Read_Call) Return(n int, err error) *MyReader_Read_Call

func (*MyReader_Read_Call) Run added in v2.23.4

func (_c *MyReader_Read_Call) Run(run func(p []byte)) *MyReader_Read_Call

func (*MyReader_Read_Call) RunAndReturn added in v2.23.4

func (_c *MyReader_Read_Call) RunAndReturn(run func([]byte) (int, error)) *MyReader_Read_Call

type PanicOnNoReturnValue added in v2.38.0

type PanicOnNoReturnValue struct {
	mock.Mock
}

PanicOnNoReturnValue is an autogenerated mock type for the PanicOnNoReturnValue type

func NewPanicOnNoReturnValue added in v2.38.0

func NewPanicOnNoReturnValue(t interface {
	mock.TestingT
	Cleanup(func())
}) *PanicOnNoReturnValue

NewPanicOnNoReturnValue creates a new instance of PanicOnNoReturnValue. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PanicOnNoReturnValue) DoSomething added in v2.38.0

func (_m *PanicOnNoReturnValue) DoSomething() string

DoSomething provides a mock function with given fields:

func (*PanicOnNoReturnValue) EXPECT added in v2.38.0

type PanicOnNoReturnValue_DoSomething_Call added in v2.38.0

type PanicOnNoReturnValue_DoSomething_Call struct {
	*mock.Call
}

PanicOnNoReturnValue_DoSomething_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DoSomething'

func (*PanicOnNoReturnValue_DoSomething_Call) Return added in v2.38.0

func (*PanicOnNoReturnValue_DoSomething_Call) Run added in v2.38.0

func (*PanicOnNoReturnValue_DoSomething_Call) RunAndReturn added in v2.38.0

type PanicOnNoReturnValue_Expecter added in v2.38.0

type PanicOnNoReturnValue_Expecter struct {
	// contains filtered or unexported fields
}

func (*PanicOnNoReturnValue_Expecter) DoSomething added in v2.38.0

DoSomething is a helper method to define mock.On call

type ReplaceGeneric added in v2.42.0

type ReplaceGeneric[TConstraint constraints.String, TKeep interface{}] struct {
	mock.Mock
}

ReplaceGeneric is an autogenerated mock type for the ReplaceGeneric type

func NewReplaceGeneric added in v2.42.0

func NewReplaceGeneric[TConstraint constraints.String, TKeep interface{}](t interface {
	mock.TestingT
	Cleanup(func())
}) *ReplaceGeneric[TConstraint, TKeep]

NewReplaceGeneric creates a new instance of ReplaceGeneric. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ReplaceGeneric[TConstraint, TKeep]) A added in v2.42.0

func (_m *ReplaceGeneric[TConstraint, TKeep]) A(t1 test.B) TKeep

A provides a mock function with given fields: t1

func (*ReplaceGeneric[TConstraint, TKeep]) B added in v2.42.0

func (_m *ReplaceGeneric[TConstraint, TKeep]) B() test.B

B provides a mock function with given fields:

func (*ReplaceGeneric[TConstraint, TKeep]) C added in v2.42.0

func (_m *ReplaceGeneric[TConstraint, TKeep]) C() TConstraint

C provides a mock function with given fields:

func (*ReplaceGeneric[TConstraint, TKeep]) EXPECT added in v2.42.0

func (_m *ReplaceGeneric[TConstraint, TKeep]) EXPECT() *ReplaceGeneric_Expecter[TConstraint, TKeep]

type ReplaceGenericSelf added in v2.42.0

type ReplaceGenericSelf struct {
	mock.Mock
}

ReplaceGenericSelf is an autogenerated mock type for the ReplaceGenericSelf type

func NewReplaceGenericSelf added in v2.42.0

func NewReplaceGenericSelf(t interface {
	mock.TestingT
	Cleanup(func())
}) *ReplaceGenericSelf

NewReplaceGenericSelf creates a new instance of ReplaceGenericSelf. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ReplaceGenericSelf) A added in v2.42.0

A provides a mock function with given fields:

func (*ReplaceGenericSelf) EXPECT added in v2.42.0

type ReplaceGenericSelf_A_Call added in v2.42.0

type ReplaceGenericSelf_A_Call struct {
	*mock.Call
}

ReplaceGenericSelf_A_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'A'

func (*ReplaceGenericSelf_A_Call) Return added in v2.42.0

func (*ReplaceGenericSelf_A_Call) Run added in v2.42.0

func (*ReplaceGenericSelf_A_Call) RunAndReturn added in v2.42.0

type ReplaceGenericSelf_Expecter added in v2.42.0

type ReplaceGenericSelf_Expecter struct {
	// contains filtered or unexported fields
}

func (*ReplaceGenericSelf_Expecter) A added in v2.42.0

A is a helper method to define mock.On call

type ReplaceGeneric_A_Call added in v2.42.0

type ReplaceGeneric_A_Call[TConstraint constraints.String, TKeep interface{}] struct {
	*mock.Call
}

ReplaceGeneric_A_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'A'

func (*ReplaceGeneric_A_Call[TConstraint, TKeep]) Return added in v2.42.0

func (_c *ReplaceGeneric_A_Call[TConstraint, TKeep]) Return(_a0 TKeep) *ReplaceGeneric_A_Call[TConstraint, TKeep]

func (*ReplaceGeneric_A_Call[TConstraint, TKeep]) Run added in v2.42.0

func (_c *ReplaceGeneric_A_Call[TConstraint, TKeep]) Run(run func(t1 test.B)) *ReplaceGeneric_A_Call[TConstraint, TKeep]

func (*ReplaceGeneric_A_Call[TConstraint, TKeep]) RunAndReturn added in v2.42.0

func (_c *ReplaceGeneric_A_Call[TConstraint, TKeep]) RunAndReturn(run func(test.B) TKeep) *ReplaceGeneric_A_Call[TConstraint, TKeep]

type ReplaceGeneric_B_Call added in v2.42.0

type ReplaceGeneric_B_Call[TConstraint constraints.String, TKeep interface{}] struct {
	*mock.Call
}

ReplaceGeneric_B_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'B'

func (*ReplaceGeneric_B_Call[TConstraint, TKeep]) Return added in v2.42.0

func (_c *ReplaceGeneric_B_Call[TConstraint, TKeep]) Return(_a0 test.B) *ReplaceGeneric_B_Call[TConstraint, TKeep]

func (*ReplaceGeneric_B_Call[TConstraint, TKeep]) Run added in v2.42.0

func (_c *ReplaceGeneric_B_Call[TConstraint, TKeep]) Run(run func()) *ReplaceGeneric_B_Call[TConstraint, TKeep]

func (*ReplaceGeneric_B_Call[TConstraint, TKeep]) RunAndReturn added in v2.42.0

func (_c *ReplaceGeneric_B_Call[TConstraint, TKeep]) RunAndReturn(run func() test.B) *ReplaceGeneric_B_Call[TConstraint, TKeep]

type ReplaceGeneric_C_Call added in v2.42.0

type ReplaceGeneric_C_Call[TConstraint constraints.String, TKeep interface{}] struct {
	*mock.Call
}

ReplaceGeneric_C_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'C'

func (*ReplaceGeneric_C_Call[TConstraint, TKeep]) Return added in v2.42.0

func (_c *ReplaceGeneric_C_Call[TConstraint, TKeep]) Return(_a0 TConstraint) *ReplaceGeneric_C_Call[TConstraint, TKeep]

func (*ReplaceGeneric_C_Call[TConstraint, TKeep]) Run added in v2.42.0

func (_c *ReplaceGeneric_C_Call[TConstraint, TKeep]) Run(run func()) *ReplaceGeneric_C_Call[TConstraint, TKeep]

func (*ReplaceGeneric_C_Call[TConstraint, TKeep]) RunAndReturn added in v2.42.0

func (_c *ReplaceGeneric_C_Call[TConstraint, TKeep]) RunAndReturn(run func() TConstraint) *ReplaceGeneric_C_Call[TConstraint, TKeep]

type ReplaceGeneric_Expecter added in v2.42.0

type ReplaceGeneric_Expecter[TConstraint constraints.String, TKeep interface{}] struct {
	// contains filtered or unexported fields
}

func (*ReplaceGeneric_Expecter[TConstraint, TKeep]) A added in v2.42.0

func (_e *ReplaceGeneric_Expecter[TConstraint, TKeep]) A(t1 interface{}) *ReplaceGeneric_A_Call[TConstraint, TKeep]

A is a helper method to define mock.On call

  • t1 test.B

func (*ReplaceGeneric_Expecter[TConstraint, TKeep]) B added in v2.42.0

func (_e *ReplaceGeneric_Expecter[TConstraint, TKeep]) B() *ReplaceGeneric_B_Call[TConstraint, TKeep]

B is a helper method to define mock.On call

func (*ReplaceGeneric_Expecter[TConstraint, TKeep]) C added in v2.42.0

func (_e *ReplaceGeneric_Expecter[TConstraint, TKeep]) C() *ReplaceGeneric_C_Call[TConstraint, TKeep]

C is a helper method to define mock.On call

type Requester added in v2.23.4

type Requester struct {
	mock.Mock
}

Requester is an autogenerated mock type for the Requester type

func NewRequester added in v2.23.4

func NewRequester(t interface {
	mock.TestingT
	Cleanup(func())
}) *Requester

NewRequester creates a new instance of Requester. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Requester) EXPECT added in v2.23.4

func (_m *Requester) EXPECT() *Requester_Expecter

func (*Requester) Get added in v2.23.4

func (_m *Requester) Get(path string) (string, error)

Get provides a mock function with given fields: path

type Requester2 added in v2.23.4

type Requester2 struct {
	mock.Mock
}

Requester2 is an autogenerated mock type for the Requester2 type

func NewRequester2 added in v2.23.4

func NewRequester2(t interface {
	mock.TestingT
	Cleanup(func())
}) *Requester2

NewRequester2 creates a new instance of Requester2. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Requester2) EXPECT added in v2.23.4

func (_m *Requester2) EXPECT() *Requester2_Expecter

func (*Requester2) Get added in v2.23.4

func (_m *Requester2) Get(path string) error

Get provides a mock function with given fields: path

type Requester2_Expecter added in v2.23.4

type Requester2_Expecter struct {
	// contains filtered or unexported fields
}

func (*Requester2_Expecter) Get added in v2.23.4

func (_e *Requester2_Expecter) Get(path interface{}) *Requester2_Get_Call

Get is a helper method to define mock.On call

  • path string

type Requester2_Get_Call added in v2.23.4

type Requester2_Get_Call struct {
	*mock.Call
}

Requester2_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*Requester2_Get_Call) Return added in v2.23.4

func (*Requester2_Get_Call) Run added in v2.23.4

func (_c *Requester2_Get_Call) Run(run func(path string)) *Requester2_Get_Call

func (*Requester2_Get_Call) RunAndReturn added in v2.23.4

func (_c *Requester2_Get_Call) RunAndReturn(run func(string) error) *Requester2_Get_Call

type Requester3 added in v2.23.4

type Requester3 struct {
	mock.Mock
}

Requester3 is an autogenerated mock type for the Requester3 type

func NewRequester3 added in v2.23.4

func NewRequester3(t interface {
	mock.TestingT
	Cleanup(func())
}) *Requester3

NewRequester3 creates a new instance of Requester3. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Requester3) EXPECT added in v2.23.4

func (_m *Requester3) EXPECT() *Requester3_Expecter

func (*Requester3) Get added in v2.23.4

func (_m *Requester3) Get() error

Get provides a mock function with given fields:

type Requester3_Expecter added in v2.23.4

type Requester3_Expecter struct {
	// contains filtered or unexported fields
}

func (*Requester3_Expecter) Get added in v2.23.4

Get is a helper method to define mock.On call

type Requester3_Get_Call added in v2.23.4

type Requester3_Get_Call struct {
	*mock.Call
}

Requester3_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*Requester3_Get_Call) Return added in v2.23.4

func (*Requester3_Get_Call) Run added in v2.23.4

func (_c *Requester3_Get_Call) Run(run func()) *Requester3_Get_Call

func (*Requester3_Get_Call) RunAndReturn added in v2.23.4

func (_c *Requester3_Get_Call) RunAndReturn(run func() error) *Requester3_Get_Call

type Requester4 added in v2.23.4

type Requester4 struct {
	mock.Mock
}

Requester4 is an autogenerated mock type for the Requester4 type

func NewRequester4 added in v2.23.4

func NewRequester4(t interface {
	mock.TestingT
	Cleanup(func())
}) *Requester4

NewRequester4 creates a new instance of Requester4. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Requester4) EXPECT added in v2.23.4

func (_m *Requester4) EXPECT() *Requester4_Expecter

func (*Requester4) Get added in v2.23.4

func (_m *Requester4) Get()

Get provides a mock function with given fields:

type Requester4_Expecter added in v2.23.4

type Requester4_Expecter struct {
	// contains filtered or unexported fields
}

func (*Requester4_Expecter) Get added in v2.23.4

Get is a helper method to define mock.On call

type Requester4_Get_Call added in v2.23.4

type Requester4_Get_Call struct {
	*mock.Call
}

Requester4_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*Requester4_Get_Call) Return added in v2.23.4

func (*Requester4_Get_Call) Run added in v2.23.4

func (_c *Requester4_Get_Call) Run(run func()) *Requester4_Get_Call

func (*Requester4_Get_Call) RunAndReturn added in v2.23.4

func (_c *Requester4_Get_Call) RunAndReturn(run func()) *Requester4_Get_Call

type RequesterArgSameAsImport added in v2.23.4

type RequesterArgSameAsImport struct {
	mock.Mock
}

RequesterArgSameAsImport is an autogenerated mock type for the RequesterArgSameAsImport type

func NewRequesterArgSameAsImport added in v2.23.4

func NewRequesterArgSameAsImport(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequesterArgSameAsImport

NewRequesterArgSameAsImport creates a new instance of RequesterArgSameAsImport. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequesterArgSameAsImport) EXPECT added in v2.23.4

func (*RequesterArgSameAsImport) Get added in v2.23.4

Get provides a mock function with given fields: _a0

type RequesterArgSameAsImport_Expecter added in v2.23.4

type RequesterArgSameAsImport_Expecter struct {
	// contains filtered or unexported fields
}

func (*RequesterArgSameAsImport_Expecter) Get added in v2.23.4

Get is a helper method to define mock.On call

  • _a0 string

type RequesterArgSameAsImport_Get_Call added in v2.23.4

type RequesterArgSameAsImport_Get_Call struct {
	*mock.Call
}

RequesterArgSameAsImport_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*RequesterArgSameAsImport_Get_Call) Return added in v2.23.4

func (*RequesterArgSameAsImport_Get_Call) Run added in v2.23.4

func (*RequesterArgSameAsImport_Get_Call) RunAndReturn added in v2.23.4

type RequesterArgSameAsNamedImport

type RequesterArgSameAsNamedImport struct {
	mock.Mock
}

RequesterArgSameAsNamedImport is an autogenerated mock type for the RequesterArgSameAsNamedImport type

func NewRequesterArgSameAsNamedImport

func NewRequesterArgSameAsNamedImport(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequesterArgSameAsNamedImport

NewRequesterArgSameAsNamedImport creates a new instance of RequesterArgSameAsNamedImport. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequesterArgSameAsNamedImport) EXPECT

func (*RequesterArgSameAsNamedImport) Get

Get provides a mock function with given fields: _a0

type RequesterArgSameAsNamedImport_Expecter

type RequesterArgSameAsNamedImport_Expecter struct {
	// contains filtered or unexported fields
}

func (*RequesterArgSameAsNamedImport_Expecter) Get

Get is a helper method to define mock.On call

  • _a0 string

type RequesterArgSameAsNamedImport_Get_Call

type RequesterArgSameAsNamedImport_Get_Call struct {
	*mock.Call
}

RequesterArgSameAsNamedImport_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*RequesterArgSameAsNamedImport_Get_Call) Return

func (*RequesterArgSameAsNamedImport_Get_Call) Run

func (*RequesterArgSameAsNamedImport_Get_Call) RunAndReturn

type RequesterArgSameAsPkg added in v2.23.4

type RequesterArgSameAsPkg struct {
	mock.Mock
}

RequesterArgSameAsPkg is an autogenerated mock type for the RequesterArgSameAsPkg type

func NewRequesterArgSameAsPkg added in v2.23.4

func NewRequesterArgSameAsPkg(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequesterArgSameAsPkg

NewRequesterArgSameAsPkg creates a new instance of RequesterArgSameAsPkg. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequesterArgSameAsPkg) EXPECT added in v2.23.4

func (*RequesterArgSameAsPkg) Get added in v2.23.4

func (_m *RequesterArgSameAsPkg) Get(_a0 string)

Get provides a mock function with given fields: _a0

type RequesterArgSameAsPkg_Expecter added in v2.23.4

type RequesterArgSameAsPkg_Expecter struct {
	// contains filtered or unexported fields
}

func (*RequesterArgSameAsPkg_Expecter) Get added in v2.23.4

Get is a helper method to define mock.On call

  • _a0 string

type RequesterArgSameAsPkg_Get_Call added in v2.23.4

type RequesterArgSameAsPkg_Get_Call struct {
	*mock.Call
}

RequesterArgSameAsPkg_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*RequesterArgSameAsPkg_Get_Call) Return added in v2.23.4

func (*RequesterArgSameAsPkg_Get_Call) Run added in v2.23.4

func (*RequesterArgSameAsPkg_Get_Call) RunAndReturn added in v2.23.4

type RequesterArray added in v2.23.4

type RequesterArray struct {
	mock.Mock
}

RequesterArray is an autogenerated mock type for the RequesterArray type

func NewRequesterArray added in v2.23.4

func NewRequesterArray(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequesterArray

NewRequesterArray creates a new instance of RequesterArray. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequesterArray) EXPECT added in v2.23.4

func (*RequesterArray) Get added in v2.23.4

func (_m *RequesterArray) Get(path string) ([2]string, error)

Get provides a mock function with given fields: path

type RequesterArray_Expecter added in v2.23.4

type RequesterArray_Expecter struct {
	// contains filtered or unexported fields
}

func (*RequesterArray_Expecter) Get added in v2.23.4

func (_e *RequesterArray_Expecter) Get(path interface{}) *RequesterArray_Get_Call

Get is a helper method to define mock.On call

  • path string

type RequesterArray_Get_Call added in v2.23.4

type RequesterArray_Get_Call struct {
	*mock.Call
}

RequesterArray_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*RequesterArray_Get_Call) Return added in v2.23.4

func (*RequesterArray_Get_Call) Run added in v2.23.4

func (_c *RequesterArray_Get_Call) Run(run func(path string)) *RequesterArray_Get_Call

func (*RequesterArray_Get_Call) RunAndReturn added in v2.23.4

func (_c *RequesterArray_Get_Call) RunAndReturn(run func(string) ([2]string, error)) *RequesterArray_Get_Call

type RequesterElided added in v2.23.4

type RequesterElided struct {
	mock.Mock
}

RequesterElided is an autogenerated mock type for the RequesterElided type

func NewRequesterElided added in v2.23.4

func NewRequesterElided(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequesterElided

NewRequesterElided creates a new instance of RequesterElided. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequesterElided) EXPECT added in v2.23.4

func (*RequesterElided) Get added in v2.23.4

func (_m *RequesterElided) Get(path string, url string) error

Get provides a mock function with given fields: path, url

type RequesterElided_Expecter added in v2.23.4

type RequesterElided_Expecter struct {
	// contains filtered or unexported fields
}

func (*RequesterElided_Expecter) Get added in v2.23.4

func (_e *RequesterElided_Expecter) Get(path interface{}, url interface{}) *RequesterElided_Get_Call

Get is a helper method to define mock.On call

  • path string
  • url string

type RequesterElided_Get_Call added in v2.23.4

type RequesterElided_Get_Call struct {
	*mock.Call
}

RequesterElided_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*RequesterElided_Get_Call) Return added in v2.23.4

func (*RequesterElided_Get_Call) Run added in v2.23.4

func (_c *RequesterElided_Get_Call) Run(run func(path string, url string)) *RequesterElided_Get_Call

func (*RequesterElided_Get_Call) RunAndReturn added in v2.23.4

type RequesterGenerics added in v2.23.4

type RequesterGenerics[TAny interface{}, TComparable comparable, TSigned constraints.Signed, TIntf test.GetInt, TExternalIntf io.Writer, TGenIntf test.GetGeneric[TSigned], TInlineType interface{ ~int | ~uint }, TInlineTypeGeneric interface {
	~int | test.GenericType[int, test.GetInt]
	comparable
}] struct {
	mock.Mock
}

RequesterGenerics is an autogenerated mock type for the RequesterGenerics type

func NewRequesterGenerics added in v2.23.4

func NewRequesterGenerics[TAny interface{}, TComparable comparable, TSigned constraints.Signed, TIntf test.GetInt, TExternalIntf io.Writer, TGenIntf test.GetGeneric[TSigned], TInlineType interface{ ~int | ~uint }, TInlineTypeGeneric interface {
	~int | test.GenericType[int, test.GetInt]
	comparable
}](t interface {
	mock.TestingT
	Cleanup(func())
}) *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

NewRequesterGenerics creates a new instance of RequesterGenerics. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) EXPECT added in v2.23.4

func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) EXPECT() *RequesterGenerics_Expecter[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

func (*RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericAnonymousStructs added in v2.23.4

func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericAnonymousStructs(_a0 struct{ Type1 TExternalIntf }) struct {
	Type2 test.GenericType[string, test.EmbeddedGet[int]]
}

GenericAnonymousStructs provides a mock function with given fields: _a0

func (*RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericArguments added in v2.23.4

func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericArguments(_a0 TAny, _a1 TComparable) (TSigned, TIntf)

GenericArguments provides a mock function with given fields: _a0, _a1

func (*RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericStructs added in v2.23.4

func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericStructs(_a0 test.GenericType[TAny, TIntf]) test.GenericType[TSigned, TIntf]

GenericStructs provides a mock function with given fields: _a0

type RequesterGenerics_Expecter added in v2.23.4

type RequesterGenerics_Expecter[TAny interface{}, TComparable comparable, TSigned constraints.Signed, TIntf test.GetInt, TExternalIntf io.Writer, TGenIntf test.GetGeneric[TSigned], TInlineType interface{ ~int | ~uint }, TInlineTypeGeneric interface {
	~int | test.GenericType[int, test.GetInt]
	comparable
}] struct {
	// contains filtered or unexported fields
}

func (*RequesterGenerics_Expecter[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericAnonymousStructs added in v2.23.4

func (_e *RequesterGenerics_Expecter[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericAnonymousStructs(_a0 interface{}) *RequesterGenerics_GenericAnonymousStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

GenericAnonymousStructs is a helper method to define mock.On call

  • _a0 struct{Type1 TExternalIntf}

func (*RequesterGenerics_Expecter[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericArguments added in v2.23.4

func (_e *RequesterGenerics_Expecter[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericArguments(_a0 interface{}, _a1 interface{}) *RequesterGenerics_GenericArguments_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

GenericArguments is a helper method to define mock.On call

  • _a0 TAny
  • _a1 TComparable

func (*RequesterGenerics_Expecter[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericStructs added in v2.23.4

func (_e *RequesterGenerics_Expecter[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericStructs(_a0 interface{}) *RequesterGenerics_GenericStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

GenericStructs is a helper method to define mock.On call

  • _a0 test.GenericType[TAny,TIntf]

type RequesterGenerics_GenericAnonymousStructs_Call added in v2.23.4

type RequesterGenerics_GenericAnonymousStructs_Call[TAny interface{}, TComparable comparable, TSigned constraints.Signed, TIntf test.GetInt, TExternalIntf io.Writer, TGenIntf test.GetGeneric[TSigned], TInlineType interface{ ~int | ~uint }, TInlineTypeGeneric interface {
	~int | test.GenericType[int, test.GetInt]
	comparable
}] struct {
	*mock.Call
}

RequesterGenerics_GenericAnonymousStructs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenericAnonymousStructs'

func (*RequesterGenerics_GenericAnonymousStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Return added in v2.23.4

func (_c *RequesterGenerics_GenericAnonymousStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Return(_a0 struct {
	Type2 test.GenericType[string, test.EmbeddedGet[int]]
}) *RequesterGenerics_GenericAnonymousStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

func (*RequesterGenerics_GenericAnonymousStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Run added in v2.23.4

func (_c *RequesterGenerics_GenericAnonymousStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Run(run func(_a0 struct{ Type1 TExternalIntf })) *RequesterGenerics_GenericAnonymousStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

func (*RequesterGenerics_GenericAnonymousStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) RunAndReturn added in v2.23.4

func (_c *RequesterGenerics_GenericAnonymousStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) RunAndReturn(run func(struct{ Type1 TExternalIntf }) struct {
	Type2 test.GenericType[string, test.EmbeddedGet[int]]
}) *RequesterGenerics_GenericAnonymousStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

type RequesterGenerics_GenericArguments_Call added in v2.23.4

type RequesterGenerics_GenericArguments_Call[TAny interface{}, TComparable comparable, TSigned constraints.Signed, TIntf test.GetInt, TExternalIntf io.Writer, TGenIntf test.GetGeneric[TSigned], TInlineType interface{ ~int | ~uint }, TInlineTypeGeneric interface {
	~int | test.GenericType[int, test.GetInt]
	comparable
}] struct {
	*mock.Call
}

RequesterGenerics_GenericArguments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenericArguments'

func (*RequesterGenerics_GenericArguments_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Return added in v2.23.4

func (_c *RequesterGenerics_GenericArguments_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Return(_a0 TSigned, _a1 TIntf) *RequesterGenerics_GenericArguments_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

func (*RequesterGenerics_GenericArguments_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Run added in v2.23.4

func (_c *RequesterGenerics_GenericArguments_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Run(run func(_a0 TAny, _a1 TComparable)) *RequesterGenerics_GenericArguments_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

func (*RequesterGenerics_GenericArguments_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) RunAndReturn added in v2.23.4

func (_c *RequesterGenerics_GenericArguments_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) RunAndReturn(run func(TAny, TComparable) (TSigned, TIntf)) *RequesterGenerics_GenericArguments_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

type RequesterGenerics_GenericStructs_Call added in v2.23.4

type RequesterGenerics_GenericStructs_Call[TAny interface{}, TComparable comparable, TSigned constraints.Signed, TIntf test.GetInt, TExternalIntf io.Writer, TGenIntf test.GetGeneric[TSigned], TInlineType interface{ ~int | ~uint }, TInlineTypeGeneric interface {
	~int | test.GenericType[int, test.GetInt]
	comparable
}] struct {
	*mock.Call
}

RequesterGenerics_GenericStructs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenericStructs'

func (*RequesterGenerics_GenericStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Return added in v2.23.4

func (_c *RequesterGenerics_GenericStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Return(_a0 test.GenericType[TSigned, TIntf]) *RequesterGenerics_GenericStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

func (*RequesterGenerics_GenericStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Run added in v2.23.4

func (_c *RequesterGenerics_GenericStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Run(run func(_a0 test.GenericType[TAny, TIntf])) *RequesterGenerics_GenericStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

func (*RequesterGenerics_GenericStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) RunAndReturn added in v2.23.4

func (_c *RequesterGenerics_GenericStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) RunAndReturn(run func(test.GenericType[TAny, TIntf]) test.GenericType[TSigned, TIntf]) *RequesterGenerics_GenericStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]

type RequesterIface added in v2.23.4

type RequesterIface struct {
	mock.Mock
}

RequesterIface is an autogenerated mock type for the RequesterIface type

func NewRequesterIface added in v2.23.4

func NewRequesterIface(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequesterIface

NewRequesterIface creates a new instance of RequesterIface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequesterIface) EXPECT added in v2.23.4

func (*RequesterIface) Get added in v2.23.4

func (_m *RequesterIface) Get() io.Reader

Get provides a mock function with given fields:

type RequesterIface_Expecter added in v2.23.4

type RequesterIface_Expecter struct {
	// contains filtered or unexported fields
}

func (*RequesterIface_Expecter) Get added in v2.23.4

Get is a helper method to define mock.On call

type RequesterIface_Get_Call added in v2.23.4

type RequesterIface_Get_Call struct {
	*mock.Call
}

RequesterIface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*RequesterIface_Get_Call) Return added in v2.23.4

func (*RequesterIface_Get_Call) Run added in v2.23.4

func (_c *RequesterIface_Get_Call) Run(run func()) *RequesterIface_Get_Call

func (*RequesterIface_Get_Call) RunAndReturn added in v2.23.4

func (_c *RequesterIface_Get_Call) RunAndReturn(run func() io.Reader) *RequesterIface_Get_Call

type RequesterNS added in v2.23.4

type RequesterNS struct {
	mock.Mock
}

RequesterNS is an autogenerated mock type for the RequesterNS type

func NewRequesterNS added in v2.23.4

func NewRequesterNS(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequesterNS

NewRequesterNS creates a new instance of RequesterNS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequesterNS) EXPECT added in v2.23.4

func (_m *RequesterNS) EXPECT() *RequesterNS_Expecter

func (*RequesterNS) Get added in v2.23.4

func (_m *RequesterNS) Get(path string) (http.Response, error)

Get provides a mock function with given fields: path

type RequesterNS_Expecter added in v2.23.4

type RequesterNS_Expecter struct {
	// contains filtered or unexported fields
}

func (*RequesterNS_Expecter) Get added in v2.23.4

func (_e *RequesterNS_Expecter) Get(path interface{}) *RequesterNS_Get_Call

Get is a helper method to define mock.On call

  • path string

type RequesterNS_Get_Call added in v2.23.4

type RequesterNS_Get_Call struct {
	*mock.Call
}

RequesterNS_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*RequesterNS_Get_Call) Return added in v2.23.4

func (*RequesterNS_Get_Call) Run added in v2.23.4

func (_c *RequesterNS_Get_Call) Run(run func(path string)) *RequesterNS_Get_Call

func (*RequesterNS_Get_Call) RunAndReturn added in v2.23.4

func (_c *RequesterNS_Get_Call) RunAndReturn(run func(string) (http.Response, error)) *RequesterNS_Get_Call

type RequesterPtr added in v2.23.4

type RequesterPtr struct {
	mock.Mock
}

RequesterPtr is an autogenerated mock type for the RequesterPtr type

func NewRequesterPtr added in v2.23.4

func NewRequesterPtr(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequesterPtr

NewRequesterPtr creates a new instance of RequesterPtr. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequesterPtr) EXPECT added in v2.23.4

func (_m *RequesterPtr) EXPECT() *RequesterPtr_Expecter

func (*RequesterPtr) Get added in v2.23.4

func (_m *RequesterPtr) Get(path string) (*string, error)

Get provides a mock function with given fields: path

type RequesterPtr_Expecter added in v2.23.4

type RequesterPtr_Expecter struct {
	// contains filtered or unexported fields
}

func (*RequesterPtr_Expecter) Get added in v2.23.4

func (_e *RequesterPtr_Expecter) Get(path interface{}) *RequesterPtr_Get_Call

Get is a helper method to define mock.On call

  • path string

type RequesterPtr_Get_Call added in v2.23.4

type RequesterPtr_Get_Call struct {
	*mock.Call
}

RequesterPtr_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*RequesterPtr_Get_Call) Return added in v2.23.4

func (*RequesterPtr_Get_Call) Run added in v2.23.4

func (_c *RequesterPtr_Get_Call) Run(run func(path string)) *RequesterPtr_Get_Call

func (*RequesterPtr_Get_Call) RunAndReturn added in v2.23.4

func (_c *RequesterPtr_Get_Call) RunAndReturn(run func(string) (*string, error)) *RequesterPtr_Get_Call

type RequesterReturnElided

type RequesterReturnElided struct {
	mock.Mock
}

RequesterReturnElided is an autogenerated mock type for the RequesterReturnElided type

func NewRequesterReturnElided

func NewRequesterReturnElided(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequesterReturnElided

NewRequesterReturnElided creates a new instance of RequesterReturnElided. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequesterReturnElided) EXPECT

func (*RequesterReturnElided) Get

func (_m *RequesterReturnElided) Get(path string) (int, int, int, error)

Get provides a mock function with given fields: path

func (*RequesterReturnElided) Put

func (_m *RequesterReturnElided) Put(path string) (int, error)

Put provides a mock function with given fields: path

type RequesterReturnElided_Expecter

type RequesterReturnElided_Expecter struct {
	// contains filtered or unexported fields
}

func (*RequesterReturnElided_Expecter) Get

Get is a helper method to define mock.On call

  • path string

func (*RequesterReturnElided_Expecter) Put

Put is a helper method to define mock.On call

  • path string

type RequesterReturnElided_Get_Call

type RequesterReturnElided_Get_Call struct {
	*mock.Call
}

RequesterReturnElided_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*RequesterReturnElided_Get_Call) Return

func (*RequesterReturnElided_Get_Call) Run

func (*RequesterReturnElided_Get_Call) RunAndReturn

type RequesterReturnElided_Put_Call

type RequesterReturnElided_Put_Call struct {
	*mock.Call
}

RequesterReturnElided_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'

func (*RequesterReturnElided_Put_Call) Return

func (*RequesterReturnElided_Put_Call) Run

func (*RequesterReturnElided_Put_Call) RunAndReturn

type RequesterSlice added in v2.23.4

type RequesterSlice struct {
	mock.Mock
}

RequesterSlice is an autogenerated mock type for the RequesterSlice type

func NewRequesterSlice added in v2.23.4

func NewRequesterSlice(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequesterSlice

NewRequesterSlice creates a new instance of RequesterSlice. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequesterSlice) EXPECT added in v2.23.4

func (*RequesterSlice) Get added in v2.23.4

func (_m *RequesterSlice) Get(path string) ([]string, error)

Get provides a mock function with given fields: path

type RequesterSlice_Expecter added in v2.23.4

type RequesterSlice_Expecter struct {
	// contains filtered or unexported fields
}

func (*RequesterSlice_Expecter) Get added in v2.23.4

func (_e *RequesterSlice_Expecter) Get(path interface{}) *RequesterSlice_Get_Call

Get is a helper method to define mock.On call

  • path string

type RequesterSlice_Get_Call added in v2.23.4

type RequesterSlice_Get_Call struct {
	*mock.Call
}

RequesterSlice_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*RequesterSlice_Get_Call) Return added in v2.23.4

func (*RequesterSlice_Get_Call) Run added in v2.23.4

func (_c *RequesterSlice_Get_Call) Run(run func(path string)) *RequesterSlice_Get_Call

func (*RequesterSlice_Get_Call) RunAndReturn added in v2.23.4

func (_c *RequesterSlice_Get_Call) RunAndReturn(run func(string) ([]string, error)) *RequesterSlice_Get_Call

type RequesterVariadic

type RequesterVariadic struct {
	mock.Mock
}

RequesterVariadic is an autogenerated mock type for the RequesterVariadic type

func NewRequesterVariadic

func NewRequesterVariadic(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequesterVariadic

NewRequesterVariadic creates a new instance of RequesterVariadic. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequesterVariadic) Get

func (_m *RequesterVariadic) Get(values ...string) bool

Get provides a mock function with given fields: values

func (*RequesterVariadic) MultiWriteToFile

func (_m *RequesterVariadic) MultiWriteToFile(filename string, w ...io.Writer) string

MultiWriteToFile provides a mock function with given fields: filename, w

func (*RequesterVariadic) OneInterface

func (_m *RequesterVariadic) OneInterface(a ...interface{}) bool

OneInterface provides a mock function with given fields: a

func (*RequesterVariadic) Sprintf

func (_m *RequesterVariadic) Sprintf(format string, a ...interface{}) string

Sprintf provides a mock function with given fields: format, a

type RequesterVariadicOneArgument

type RequesterVariadicOneArgument struct {
	mock.Mock
}

RequesterVariadicOneArgument is an autogenerated mock type for the RequesterVariadic type

func NewRequesterVariadicOneArgument

func NewRequesterVariadicOneArgument(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequesterVariadicOneArgument

NewRequesterVariadicOneArgument creates a new instance of RequesterVariadicOneArgument. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RequesterVariadicOneArgument) Get

func (_m *RequesterVariadicOneArgument) Get(values ...string) bool

Get provides a mock function with given fields: values

func (*RequesterVariadicOneArgument) MultiWriteToFile

func (_m *RequesterVariadicOneArgument) MultiWriteToFile(filename string, w ...io.Writer) string

MultiWriteToFile provides a mock function with given fields: filename, w

func (*RequesterVariadicOneArgument) OneInterface

func (_m *RequesterVariadicOneArgument) OneInterface(a ...interface{}) bool

OneInterface provides a mock function with given fields: a

func (*RequesterVariadicOneArgument) Sprintf

func (_m *RequesterVariadicOneArgument) Sprintf(format string, a ...interface{}) string

Sprintf provides a mock function with given fields: format, a

type Requester_Expecter added in v2.23.4

type Requester_Expecter struct {
	// contains filtered or unexported fields
}

func (*Requester_Expecter) Get added in v2.23.4

func (_e *Requester_Expecter) Get(path interface{}) *Requester_Get_Call

Get is a helper method to define mock.On call

  • path string

type Requester_Get_Call added in v2.23.4

type Requester_Get_Call struct {
	*mock.Call
}

Requester_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*Requester_Get_Call) Return added in v2.23.4

func (_c *Requester_Get_Call) Return(_a0 string, _a1 error) *Requester_Get_Call

func (*Requester_Get_Call) Run added in v2.23.4

func (_c *Requester_Get_Call) Run(run func(path string)) *Requester_Get_Call

func (*Requester_Get_Call) RunAndReturn added in v2.23.4

func (_c *Requester_Get_Call) RunAndReturn(run func(string) (string, error)) *Requester_Get_Call

type SendFunc added in v2.23.4

type SendFunc struct {
	mock.Mock
}

SendFunc is an autogenerated mock type for the SendFunc type

func NewSendFunc added in v2.23.4

func NewSendFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *SendFunc

NewSendFunc creates a new instance of SendFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SendFunc) EXPECT added in v2.23.4

func (_m *SendFunc) EXPECT() *SendFunc_Expecter

func (*SendFunc) Execute added in v2.23.4

func (_m *SendFunc) Execute(ctx context.Context, data string) (int, error)

Execute provides a mock function with given fields: ctx, data

type SendFunc_Execute_Call added in v2.23.4

type SendFunc_Execute_Call struct {
	*mock.Call
}

SendFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*SendFunc_Execute_Call) Return added in v2.23.4

func (_c *SendFunc_Execute_Call) Return(_a0 int, _a1 error) *SendFunc_Execute_Call

func (*SendFunc_Execute_Call) Run added in v2.23.4

func (_c *SendFunc_Execute_Call) Run(run func(ctx context.Context, data string)) *SendFunc_Execute_Call

func (*SendFunc_Execute_Call) RunAndReturn added in v2.23.4

func (_c *SendFunc_Execute_Call) RunAndReturn(run func(context.Context, string) (int, error)) *SendFunc_Execute_Call

type SendFunc_Expecter added in v2.23.4

type SendFunc_Expecter struct {
	// contains filtered or unexported fields
}

func (*SendFunc_Expecter) Execute added in v2.23.4

func (_e *SendFunc_Expecter) Execute(ctx interface{}, data interface{}) *SendFunc_Execute_Call

Execute is a helper method to define mock.On call

  • ctx context.Context
  • data string

type Sibling added in v2.23.4

type Sibling struct {
	mock.Mock
}

Sibling is an autogenerated mock type for the Sibling type

func NewSibling added in v2.23.4

func NewSibling(t interface {
	mock.TestingT
	Cleanup(func())
}) *Sibling

NewSibling creates a new instance of Sibling. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Sibling) DoSomething added in v2.23.4

func (_m *Sibling) DoSomething()

DoSomething provides a mock function with given fields:

func (*Sibling) EXPECT added in v2.23.4

func (_m *Sibling) EXPECT() *Sibling_Expecter

type Sibling_DoSomething_Call added in v2.23.4

type Sibling_DoSomething_Call struct {
	*mock.Call
}

Sibling_DoSomething_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DoSomething'

func (*Sibling_DoSomething_Call) Return added in v2.23.4

func (*Sibling_DoSomething_Call) Run added in v2.23.4

func (*Sibling_DoSomething_Call) RunAndReturn added in v2.23.4

func (_c *Sibling_DoSomething_Call) RunAndReturn(run func()) *Sibling_DoSomething_Call

type Sibling_Expecter added in v2.23.4

type Sibling_Expecter struct {
	// contains filtered or unexported fields
}

func (*Sibling_Expecter) DoSomething added in v2.23.4

func (_e *Sibling_Expecter) DoSomething() *Sibling_DoSomething_Call

DoSomething is a helper method to define mock.On call

type StructWithTag added in v2.23.4

type StructWithTag struct {
	mock.Mock
}

StructWithTag is an autogenerated mock type for the StructWithTag type

func NewStructWithTag added in v2.23.4

func NewStructWithTag(t interface {
	mock.TestingT
	Cleanup(func())
}) *StructWithTag

NewStructWithTag creates a new instance of StructWithTag. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*StructWithTag) EXPECT added in v2.23.4

func (_m *StructWithTag) EXPECT() *StructWithTag_Expecter

func (*StructWithTag) MethodA added in v2.23.4

func (_m *StructWithTag) MethodA(v *struct {
	FieldA int `json:"field_a"`
	FieldB int `json:"field_b" xml:"field_b"`
}) *struct {
	FieldC int `json:"field_c"`
	FieldD int `json:"field_d" xml:"field_d"`
}

MethodA provides a mock function with given fields: v

type StructWithTag_Expecter added in v2.23.4

type StructWithTag_Expecter struct {
	// contains filtered or unexported fields
}

func (*StructWithTag_Expecter) MethodA added in v2.23.4

func (_e *StructWithTag_Expecter) MethodA(v interface{}) *StructWithTag_MethodA_Call

MethodA is a helper method to define mock.On call

  • v *struct{FieldA int `json:"field_a"`;FieldB int `json:"field_b" xml:"field_b"`}

type StructWithTag_MethodA_Call added in v2.23.4

type StructWithTag_MethodA_Call struct {
	*mock.Call
}

StructWithTag_MethodA_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MethodA'

func (*StructWithTag_MethodA_Call) Return added in v2.23.4

func (_c *StructWithTag_MethodA_Call) Return(_a0 *struct {
	FieldC int `json:"field_c"`
	FieldD int `json:"field_d" xml:"field_d"`
}) *StructWithTag_MethodA_Call

func (*StructWithTag_MethodA_Call) Run added in v2.23.4

func (_c *StructWithTag_MethodA_Call) Run(run func(v *struct {
	FieldA int `json:"field_a"`
	FieldB int `json:"field_b" xml:"field_b"`
})) *StructWithTag_MethodA_Call

func (*StructWithTag_MethodA_Call) RunAndReturn added in v2.23.4

func (_c *StructWithTag_MethodA_Call) RunAndReturn(run func(*struct {
	FieldA int `json:"field_a"`
	FieldB int `json:"field_b" xml:"field_b"`
}) *struct {
	FieldC int `json:"field_c"`
	FieldD int `json:"field_d" xml:"field_d"`
}) *StructWithTag_MethodA_Call

type UnsafeInterface added in v2.23.4

type UnsafeInterface struct {
	mock.Mock
}

UnsafeInterface is an autogenerated mock type for the UnsafeInterface type

func NewUnsafeInterface added in v2.23.4

func NewUnsafeInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *UnsafeInterface

NewUnsafeInterface creates a new instance of UnsafeInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UnsafeInterface) Do added in v2.23.4

func (_m *UnsafeInterface) Do(ptr *unsafe.Pointer)

Do provides a mock function with given fields: ptr

func (*UnsafeInterface) EXPECT added in v2.23.4

type UnsafeInterface_Do_Call added in v2.23.4

type UnsafeInterface_Do_Call struct {
	*mock.Call
}

UnsafeInterface_Do_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Do'

func (*UnsafeInterface_Do_Call) Return added in v2.23.4

func (*UnsafeInterface_Do_Call) Run added in v2.23.4

func (*UnsafeInterface_Do_Call) RunAndReturn added in v2.23.4

func (_c *UnsafeInterface_Do_Call) RunAndReturn(run func(*unsafe.Pointer)) *UnsafeInterface_Do_Call

type UnsafeInterface_Expecter added in v2.23.4

type UnsafeInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*UnsafeInterface_Expecter) Do added in v2.23.4

func (_e *UnsafeInterface_Expecter) Do(ptr interface{}) *UnsafeInterface_Do_Call

Do is a helper method to define mock.On call

  • ptr *unsafe.Pointer

type UsesOtherPkgIface added in v2.23.4

type UsesOtherPkgIface struct {
	mock.Mock
}

UsesOtherPkgIface is an autogenerated mock type for the UsesOtherPkgIface type

func NewUsesOtherPkgIface added in v2.23.4

func NewUsesOtherPkgIface(t interface {
	mock.TestingT
	Cleanup(func())
}) *UsesOtherPkgIface

NewUsesOtherPkgIface creates a new instance of UsesOtherPkgIface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UsesOtherPkgIface) DoSomethingElse added in v2.23.4

func (_m *UsesOtherPkgIface) DoSomethingElse(obj test.Sibling)

DoSomethingElse provides a mock function with given fields: obj

func (*UsesOtherPkgIface) EXPECT added in v2.23.4

type UsesOtherPkgIface_DoSomethingElse_Call added in v2.23.4

type UsesOtherPkgIface_DoSomethingElse_Call struct {
	*mock.Call
}

UsesOtherPkgIface_DoSomethingElse_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DoSomethingElse'

func (*UsesOtherPkgIface_DoSomethingElse_Call) Return added in v2.23.4

func (*UsesOtherPkgIface_DoSomethingElse_Call) Run added in v2.23.4

func (*UsesOtherPkgIface_DoSomethingElse_Call) RunAndReturn added in v2.23.4

type UsesOtherPkgIface_Expecter added in v2.23.4

type UsesOtherPkgIface_Expecter struct {
	// contains filtered or unexported fields
}

func (*UsesOtherPkgIface_Expecter) DoSomethingElse added in v2.23.4

func (_e *UsesOtherPkgIface_Expecter) DoSomethingElse(obj interface{}) *UsesOtherPkgIface_DoSomethingElse_Call

DoSomethingElse is a helper method to define mock.On call

  • obj test.Sibling

type Variadic added in v2.40.1

type Variadic struct {
	mock.Mock
}

Variadic is an autogenerated mock type for the Variadic type

func NewVariadic added in v2.40.1

func NewVariadic(t interface {
	mock.TestingT
	Cleanup(func())
}) *Variadic

NewVariadic creates a new instance of Variadic. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Variadic) EXPECT added in v2.40.1

func (_m *Variadic) EXPECT() *Variadic_Expecter

func (*Variadic) VariadicFunction added in v2.40.1

func (_m *Variadic) VariadicFunction(str string, vFunc func(string, ...interface{}) interface{}) error

VariadicFunction provides a mock function with given fields: str, vFunc

type VariadicNoReturnInterface added in v2.33.2

type VariadicNoReturnInterface struct {
	mock.Mock
}

VariadicNoReturnInterface is an autogenerated mock type for the VariadicNoReturnInterface type

func NewVariadicNoReturnInterface added in v2.33.2

func NewVariadicNoReturnInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *VariadicNoReturnInterface

NewVariadicNoReturnInterface creates a new instance of VariadicNoReturnInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*VariadicNoReturnInterface) EXPECT added in v2.33.2

func (*VariadicNoReturnInterface) VariadicNoReturn added in v2.33.2

func (_m *VariadicNoReturnInterface) VariadicNoReturn(j int, is ...interface{})

VariadicNoReturn provides a mock function with given fields: j, is

type VariadicNoReturnInterface_Expecter added in v2.33.2

type VariadicNoReturnInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*VariadicNoReturnInterface_Expecter) VariadicNoReturn added in v2.33.2

func (_e *VariadicNoReturnInterface_Expecter) VariadicNoReturn(j interface{}, is ...interface{}) *VariadicNoReturnInterface_VariadicNoReturn_Call

VariadicNoReturn is a helper method to define mock.On call

  • j int
  • is ...interface{}

type VariadicNoReturnInterface_VariadicNoReturn_Call added in v2.33.2

type VariadicNoReturnInterface_VariadicNoReturn_Call struct {
	*mock.Call
}

VariadicNoReturnInterface_VariadicNoReturn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VariadicNoReturn'

func (*VariadicNoReturnInterface_VariadicNoReturn_Call) Return added in v2.33.2

func (*VariadicNoReturnInterface_VariadicNoReturn_Call) Run added in v2.33.2

func (*VariadicNoReturnInterface_VariadicNoReturn_Call) RunAndReturn added in v2.33.2

type VariadicReturnFunc added in v2.40.1

type VariadicReturnFunc struct {
	mock.Mock
}

VariadicReturnFunc is an autogenerated mock type for the VariadicReturnFunc type

func NewVariadicReturnFunc added in v2.40.1

func NewVariadicReturnFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *VariadicReturnFunc

NewVariadicReturnFunc creates a new instance of VariadicReturnFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*VariadicReturnFunc) EXPECT added in v2.40.1

func (*VariadicReturnFunc) SampleMethod added in v2.40.1

func (_m *VariadicReturnFunc) SampleMethod(str string) func(string, []int, ...interface{})

SampleMethod provides a mock function with given fields: str

type VariadicReturnFunc_Expecter added in v2.40.1

type VariadicReturnFunc_Expecter struct {
	// contains filtered or unexported fields
}

func (*VariadicReturnFunc_Expecter) SampleMethod added in v2.40.1

func (_e *VariadicReturnFunc_Expecter) SampleMethod(str interface{}) *VariadicReturnFunc_SampleMethod_Call

SampleMethod is a helper method to define mock.On call

  • str string

type VariadicReturnFunc_SampleMethod_Call added in v2.40.1

type VariadicReturnFunc_SampleMethod_Call struct {
	*mock.Call
}

VariadicReturnFunc_SampleMethod_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SampleMethod'

func (*VariadicReturnFunc_SampleMethod_Call) Return added in v2.40.1

func (_c *VariadicReturnFunc_SampleMethod_Call) Return(_a0 func(string, []int, ...interface{})) *VariadicReturnFunc_SampleMethod_Call

func (*VariadicReturnFunc_SampleMethod_Call) Run added in v2.40.1

func (*VariadicReturnFunc_SampleMethod_Call) RunAndReturn added in v2.40.1

func (_c *VariadicReturnFunc_SampleMethod_Call) RunAndReturn(run func(string) func(string, []int, ...interface{})) *VariadicReturnFunc_SampleMethod_Call

type Variadic_Expecter added in v2.40.1

type Variadic_Expecter struct {
	// contains filtered or unexported fields
}

func (*Variadic_Expecter) VariadicFunction added in v2.40.1

func (_e *Variadic_Expecter) VariadicFunction(str interface{}, vFunc interface{}) *Variadic_VariadicFunction_Call

VariadicFunction is a helper method to define mock.On call

  • str string
  • vFunc func(string , ...interface{}) interface{}

type Variadic_VariadicFunction_Call added in v2.40.1

type Variadic_VariadicFunction_Call struct {
	*mock.Call
}

Variadic_VariadicFunction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VariadicFunction'

func (*Variadic_VariadicFunction_Call) Return added in v2.40.1

func (*Variadic_VariadicFunction_Call) Run added in v2.40.1

func (_c *Variadic_VariadicFunction_Call) Run(run func(str string, vFunc func(string, ...interface{}) interface{})) *Variadic_VariadicFunction_Call

func (*Variadic_VariadicFunction_Call) RunAndReturn added in v2.40.1

func (_c *Variadic_VariadicFunction_Call) RunAndReturn(run func(string, func(string, ...interface{}) interface{}) error) *Variadic_VariadicFunction_Call

Jump to

Keyboard shortcuts

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