Documentation
¶
Index ¶
- type A
- type A_Call_Call
- type A_Expecter
- type AsyncProducer
- type AsyncProducer_Expecter
- type AsyncProducer_Input_Call
- type AsyncProducer_Output_Call
- type AsyncProducer_Whatever_Call
- type Blank
- type Blank_Create_Call
- type Blank_Expecter
- type ConsulLock
- type ConsulLock_Expecter
- type ConsulLock_Lock_Call
- func (_c *ConsulLock_Lock_Call) Return(_a0 <-chan struct{}, _a1 error) *ConsulLock_Lock_Call
- func (_c *ConsulLock_Lock_Call) Run(run func(_a0 <-chan struct{})) *ConsulLock_Lock_Call
- func (_c *ConsulLock_Lock_Call) RunAndReturn(run func(<-chan struct{}) (<-chan struct{}, error)) *ConsulLock_Lock_Call
- type ConsulLock_Unlock_Call
- type EmbeddedGet
- type EmbeddedGet_Expecter
- type EmbeddedGet_Get_Call
- type Example
- type Example_A_Call
- type Example_B_Call
- type Example_Expecter
- type Expecter
- func (_m *Expecter) EXPECT() *Expecter_Expecter
- func (_m *Expecter) ManyArgsReturns(str string, i int) ([]string, error)
- func (_m *Expecter) NoArg() string
- func (_m *Expecter) NoReturn(str string)
- func (_m *Expecter) Variadic(ints ...int) error
- func (_m *Expecter) VariadicMany(i int, a string, intfs ...interface{}) error
- type ExpecterAndRolledVariadic
- func (_m *ExpecterAndRolledVariadic) EXPECT() *ExpecterAndRolledVariadic_Expecter
- func (_m *ExpecterAndRolledVariadic) ManyArgsReturns(str string, i int) ([]string, error)
- func (_m *ExpecterAndRolledVariadic) NoArg() string
- func (_m *ExpecterAndRolledVariadic) NoReturn(str string)
- func (_m *ExpecterAndRolledVariadic) Variadic(ints ...int) error
- func (_m *ExpecterAndRolledVariadic) VariadicMany(i int, a string, intfs ...interface{}) error
- type ExpecterAndRolledVariadic_Expecter
- func (_e *ExpecterAndRolledVariadic_Expecter) ManyArgsReturns(str interface{}, i interface{}) *ExpecterAndRolledVariadic_ManyArgsReturns_Call
- func (_e *ExpecterAndRolledVariadic_Expecter) NoArg() *ExpecterAndRolledVariadic_NoArg_Call
- func (_e *ExpecterAndRolledVariadic_Expecter) NoReturn(str interface{}) *ExpecterAndRolledVariadic_NoReturn_Call
- func (_e *ExpecterAndRolledVariadic_Expecter) Variadic(ints ...interface{}) *ExpecterAndRolledVariadic_Variadic_Call
- func (_e *ExpecterAndRolledVariadic_Expecter) VariadicMany(i interface{}, a interface{}, intfs ...interface{}) *ExpecterAndRolledVariadic_VariadicMany_Call
- type ExpecterAndRolledVariadic_ManyArgsReturns_Call
- func (_c *ExpecterAndRolledVariadic_ManyArgsReturns_Call) Return(strs []string, err error) *ExpecterAndRolledVariadic_ManyArgsReturns_Call
- func (_c *ExpecterAndRolledVariadic_ManyArgsReturns_Call) Run(run func(str string, i int)) *ExpecterAndRolledVariadic_ManyArgsReturns_Call
- func (_c *ExpecterAndRolledVariadic_ManyArgsReturns_Call) RunAndReturn(run func(string, int) ([]string, error)) *ExpecterAndRolledVariadic_ManyArgsReturns_Call
- type ExpecterAndRolledVariadic_NoArg_Call
- func (_c *ExpecterAndRolledVariadic_NoArg_Call) Return(_a0 string) *ExpecterAndRolledVariadic_NoArg_Call
- func (_c *ExpecterAndRolledVariadic_NoArg_Call) Run(run func()) *ExpecterAndRolledVariadic_NoArg_Call
- func (_c *ExpecterAndRolledVariadic_NoArg_Call) RunAndReturn(run func() string) *ExpecterAndRolledVariadic_NoArg_Call
- type ExpecterAndRolledVariadic_NoReturn_Call
- func (_c *ExpecterAndRolledVariadic_NoReturn_Call) Return() *ExpecterAndRolledVariadic_NoReturn_Call
- func (_c *ExpecterAndRolledVariadic_NoReturn_Call) Run(run func(str string)) *ExpecterAndRolledVariadic_NoReturn_Call
- func (_c *ExpecterAndRolledVariadic_NoReturn_Call) RunAndReturn(run func(string)) *ExpecterAndRolledVariadic_NoReturn_Call
- type ExpecterAndRolledVariadic_VariadicMany_Call
- func (_c *ExpecterAndRolledVariadic_VariadicMany_Call) Return(_a0 error) *ExpecterAndRolledVariadic_VariadicMany_Call
- func (_c *ExpecterAndRolledVariadic_VariadicMany_Call) Run(run func(i int, a string, intfs ...interface{})) *ExpecterAndRolledVariadic_VariadicMany_Call
- func (_c *ExpecterAndRolledVariadic_VariadicMany_Call) RunAndReturn(run func(int, string, ...interface{}) error) *ExpecterAndRolledVariadic_VariadicMany_Call
- type ExpecterAndRolledVariadic_Variadic_Call
- func (_c *ExpecterAndRolledVariadic_Variadic_Call) Return(_a0 error) *ExpecterAndRolledVariadic_Variadic_Call
- func (_c *ExpecterAndRolledVariadic_Variadic_Call) Run(run func(ints ...int)) *ExpecterAndRolledVariadic_Variadic_Call
- func (_c *ExpecterAndRolledVariadic_Variadic_Call) RunAndReturn(run func(...int) error) *ExpecterAndRolledVariadic_Variadic_Call
- type Expecter_Expecter
- func (_e *Expecter_Expecter) ManyArgsReturns(str interface{}, i interface{}) *Expecter_ManyArgsReturns_Call
- func (_e *Expecter_Expecter) NoArg() *Expecter_NoArg_Call
- func (_e *Expecter_Expecter) NoReturn(str interface{}) *Expecter_NoReturn_Call
- func (_e *Expecter_Expecter) Variadic(ints ...interface{}) *Expecter_Variadic_Call
- func (_e *Expecter_Expecter) VariadicMany(i interface{}, a interface{}, intfs ...interface{}) *Expecter_VariadicMany_Call
- type Expecter_ManyArgsReturns_Call
- func (_c *Expecter_ManyArgsReturns_Call) Return(strs []string, err error) *Expecter_ManyArgsReturns_Call
- func (_c *Expecter_ManyArgsReturns_Call) Run(run func(str string, i int)) *Expecter_ManyArgsReturns_Call
- func (_c *Expecter_ManyArgsReturns_Call) RunAndReturn(run func(string, int) ([]string, error)) *Expecter_ManyArgsReturns_Call
- type Expecter_NoArg_Call
- type Expecter_NoReturn_Call
- type Expecter_VariadicMany_Call
- func (_c *Expecter_VariadicMany_Call) Return(_a0 error) *Expecter_VariadicMany_Call
- func (_c *Expecter_VariadicMany_Call) Run(run func(i int, a string, intfs ...interface{})) *Expecter_VariadicMany_Call
- func (_c *Expecter_VariadicMany_Call) RunAndReturn(run func(int, string, ...interface{}) error) *Expecter_VariadicMany_Call
- type Expecter_Variadic_Call
- type Fooer
- type Fooer_Bar_Call
- type Fooer_Baz_Call
- type Fooer_Expecter
- type Fooer_Foo_Call
- type FuncArgsCollision
- type FuncArgsCollision_Expecter
- type FuncArgsCollision_Foo_Call
- type GetGeneric
- type GetGeneric_Expecter
- type GetGeneric_Get_Call
- type GetInt
- type GetInt_Expecter
- type GetInt_Get_Call
- type HasConflictingNestedImports
- type HasConflictingNestedImports_Expecter
- type HasConflictingNestedImports_Get_Call
- func (_c *HasConflictingNestedImports_Get_Call) Return(_a0 http.Response, _a1 error) *HasConflictingNestedImports_Get_Call
- func (_c *HasConflictingNestedImports_Get_Call) Run(run func(path string)) *HasConflictingNestedImports_Get_Call
- func (_c *HasConflictingNestedImports_Get_Call) RunAndReturn(run func(string) (http.Response, error)) *HasConflictingNestedImports_Get_Call
- type HasConflictingNestedImports_Z_Call
- func (_c *HasConflictingNestedImports_Z_Call) Return(_a0 fixtureshttp.MyStruct) *HasConflictingNestedImports_Z_Call
- func (_c *HasConflictingNestedImports_Z_Call) Run(run func()) *HasConflictingNestedImports_Z_Call
- func (_c *HasConflictingNestedImports_Z_Call) RunAndReturn(run func() fixtureshttp.MyStruct) *HasConflictingNestedImports_Z_Call
- type ImportsSameAsPackage
- type ImportsSameAsPackage_A_Call
- type ImportsSameAsPackage_B_Call
- type ImportsSameAsPackage_C_Call
- type ImportsSameAsPackage_Expecter
- type Issue766
- type Issue766_Expecter
- type Issue766_FetchData_Call
- func (_c *Issue766_FetchData_Call) Return(_a0 []int, _a1 error) *Issue766_FetchData_Call
- func (_c *Issue766_FetchData_Call) Run(run func(fetchFunc func(...int) ([]int, error))) *Issue766_FetchData_Call
- func (_c *Issue766_FetchData_Call) RunAndReturn(run func(func(...int) ([]int, error)) ([]int, error)) *Issue766_FetchData_Call
- type KeyManager
- type KeyManager_Expecter
- type KeyManager_GetKey_Call
- func (_c *KeyManager_GetKey_Call) Return(_a0 []byte, _a1 *test.Err) *KeyManager_GetKey_Call
- func (_c *KeyManager_GetKey_Call) Run(run func(_a0 string, _a1 uint16)) *KeyManager_GetKey_Call
- func (_c *KeyManager_GetKey_Call) RunAndReturn(run func(string, uint16) ([]byte, *test.Err)) *KeyManager_GetKey_Call
- type MapFunc
- type MapFunc_Expecter
- type MapFunc_Get_Call
- type MapToInterface
- type MapToInterface_Expecter
- type MapToInterface_Foo_Call
- type MyReader
- type MyReader_Expecter
- type MyReader_Read_Call
- type PanicOnNoReturnValue
- type PanicOnNoReturnValue_DoSomething_Call
- func (_c *PanicOnNoReturnValue_DoSomething_Call) Return(_a0 string) *PanicOnNoReturnValue_DoSomething_Call
- func (_c *PanicOnNoReturnValue_DoSomething_Call) Run(run func()) *PanicOnNoReturnValue_DoSomething_Call
- func (_c *PanicOnNoReturnValue_DoSomething_Call) RunAndReturn(run func() string) *PanicOnNoReturnValue_DoSomething_Call
- type PanicOnNoReturnValue_Expecter
- type ReplaceGeneric
- type ReplaceGenericSelf
- type ReplaceGenericSelf_A_Call
- type ReplaceGenericSelf_Expecter
- type ReplaceGeneric_A_Call
- func (_c *ReplaceGeneric_A_Call[TConstraint, TKeep]) Return(_a0 TKeep) *ReplaceGeneric_A_Call[TConstraint, TKeep]
- func (_c *ReplaceGeneric_A_Call[TConstraint, TKeep]) Run(run func(t1 test.B)) *ReplaceGeneric_A_Call[TConstraint, TKeep]
- func (_c *ReplaceGeneric_A_Call[TConstraint, TKeep]) RunAndReturn(run func(test.B) TKeep) *ReplaceGeneric_A_Call[TConstraint, TKeep]
- type ReplaceGeneric_B_Call
- func (_c *ReplaceGeneric_B_Call[TConstraint, TKeep]) Return(_a0 test.B) *ReplaceGeneric_B_Call[TConstraint, TKeep]
- func (_c *ReplaceGeneric_B_Call[TConstraint, TKeep]) Run(run func()) *ReplaceGeneric_B_Call[TConstraint, TKeep]
- func (_c *ReplaceGeneric_B_Call[TConstraint, TKeep]) RunAndReturn(run func() test.B) *ReplaceGeneric_B_Call[TConstraint, TKeep]
- type ReplaceGeneric_C_Call
- func (_c *ReplaceGeneric_C_Call[TConstraint, TKeep]) Return(_a0 TConstraint) *ReplaceGeneric_C_Call[TConstraint, TKeep]
- func (_c *ReplaceGeneric_C_Call[TConstraint, TKeep]) Run(run func()) *ReplaceGeneric_C_Call[TConstraint, TKeep]
- func (_c *ReplaceGeneric_C_Call[TConstraint, TKeep]) RunAndReturn(run func() TConstraint) *ReplaceGeneric_C_Call[TConstraint, TKeep]
- type ReplaceGeneric_Expecter
- func (_e *ReplaceGeneric_Expecter[TConstraint, TKeep]) A(t1 interface{}) *ReplaceGeneric_A_Call[TConstraint, TKeep]
- func (_e *ReplaceGeneric_Expecter[TConstraint, TKeep]) B() *ReplaceGeneric_B_Call[TConstraint, TKeep]
- func (_e *ReplaceGeneric_Expecter[TConstraint, TKeep]) C() *ReplaceGeneric_C_Call[TConstraint, TKeep]
- type Requester
- type Requester2
- type Requester2_Expecter
- type Requester2_Get_Call
- type Requester3
- type Requester3_Expecter
- type Requester3_Get_Call
- type Requester4
- type Requester4_Expecter
- type Requester4_Get_Call
- type RequesterArgSameAsImport
- type RequesterArgSameAsImport_Expecter
- type RequesterArgSameAsImport_Get_Call
- func (_c *RequesterArgSameAsImport_Get_Call) Return(_a0 *json.RawMessage) *RequesterArgSameAsImport_Get_Call
- func (_c *RequesterArgSameAsImport_Get_Call) Run(run func(_a0 string)) *RequesterArgSameAsImport_Get_Call
- func (_c *RequesterArgSameAsImport_Get_Call) RunAndReturn(run func(string) *json.RawMessage) *RequesterArgSameAsImport_Get_Call
- type RequesterArgSameAsNamedImport
- type RequesterArgSameAsNamedImport_Expecter
- type RequesterArgSameAsNamedImport_Get_Call
- func (_c *RequesterArgSameAsNamedImport_Get_Call) Return(_a0 *json.RawMessage) *RequesterArgSameAsNamedImport_Get_Call
- func (_c *RequesterArgSameAsNamedImport_Get_Call) Run(run func(_a0 string)) *RequesterArgSameAsNamedImport_Get_Call
- func (_c *RequesterArgSameAsNamedImport_Get_Call) RunAndReturn(run func(string) *json.RawMessage) *RequesterArgSameAsNamedImport_Get_Call
- type RequesterArgSameAsPkg
- type RequesterArgSameAsPkg_Expecter
- type RequesterArgSameAsPkg_Get_Call
- type RequesterArray
- type RequesterArray_Expecter
- type RequesterArray_Get_Call
- type RequesterElided
- type RequesterElided_Expecter
- type RequesterElided_Get_Call
- type RequesterGenerics
- func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) EXPECT() ...
- func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericAnonymousStructs(_a0 struct{ ... }) struct{ ... }
- func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericArguments(_a0 TAny, _a1 TComparable) (TSigned, TIntf)
- func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericStructs(_a0 test.GenericType[TAny, TIntf]) test.GenericType[TSigned, TIntf]
- type RequesterGenerics_Expecter
- func (_e *RequesterGenerics_Expecter[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericAnonymousStructs(_a0 interface{}) ...
- func (_e *RequesterGenerics_Expecter[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericArguments(_a0 interface{}, _a1 interface{}) ...
- func (_e *RequesterGenerics_Expecter[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericStructs(_a0 interface{}) ...
- type RequesterGenerics_GenericAnonymousStructs_Call
- func (_c *RequesterGenerics_GenericAnonymousStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Return(_a0 struct{ ... }) ...
- func (_c *RequesterGenerics_GenericAnonymousStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Run(run func(_a0 struct{ ... })) ...
- func (_c *RequesterGenerics_GenericAnonymousStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) RunAndReturn(run func(struct{ ... }) struct{ ... }) ...
- type RequesterGenerics_GenericArguments_Call
- func (_c *RequesterGenerics_GenericArguments_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Return(_a0 TSigned, _a1 TIntf) ...
- func (_c *RequesterGenerics_GenericArguments_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Run(run func(_a0 TAny, _a1 TComparable)) ...
- func (_c *RequesterGenerics_GenericArguments_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) RunAndReturn(run func(TAny, TComparable) (TSigned, TIntf)) ...
- type RequesterGenerics_GenericStructs_Call
- func (_c *RequesterGenerics_GenericStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Return(_a0 test.GenericType[TSigned, TIntf]) ...
- func (_c *RequesterGenerics_GenericStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) Run(run func(_a0 test.GenericType[TAny, TIntf])) ...
- func (_c *RequesterGenerics_GenericStructs_Call[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) RunAndReturn(run func(test.GenericType[TAny, TIntf]) test.GenericType[TSigned, TIntf]) ...
- type RequesterIface
- type RequesterIface_Expecter
- type RequesterIface_Get_Call
- type RequesterNS
- type RequesterNS_Expecter
- type RequesterNS_Get_Call
- type RequesterPtr
- type RequesterPtr_Expecter
- type RequesterPtr_Get_Call
- type RequesterReturnElided
- type RequesterReturnElided_Expecter
- type RequesterReturnElided_Get_Call
- func (_c *RequesterReturnElided_Get_Call) Return(a int, b int, c int, err error) *RequesterReturnElided_Get_Call
- func (_c *RequesterReturnElided_Get_Call) Run(run func(path string)) *RequesterReturnElided_Get_Call
- func (_c *RequesterReturnElided_Get_Call) RunAndReturn(run func(string) (int, int, int, error)) *RequesterReturnElided_Get_Call
- type RequesterReturnElided_Put_Call
- func (_c *RequesterReturnElided_Put_Call) Return(_a0 int, err error) *RequesterReturnElided_Put_Call
- func (_c *RequesterReturnElided_Put_Call) Run(run func(path string)) *RequesterReturnElided_Put_Call
- func (_c *RequesterReturnElided_Put_Call) RunAndReturn(run func(string) (int, error)) *RequesterReturnElided_Put_Call
- type RequesterSlice
- type RequesterSlice_Expecter
- type RequesterSlice_Get_Call
- type RequesterVariadic
- type RequesterVariadicOneArgument
- func (_m *RequesterVariadicOneArgument) Get(values ...string) bool
- func (_m *RequesterVariadicOneArgument) MultiWriteToFile(filename string, w ...io.Writer) string
- func (_m *RequesterVariadicOneArgument) OneInterface(a ...interface{}) bool
- func (_m *RequesterVariadicOneArgument) Sprintf(format string, a ...interface{}) string
- type Requester_Expecter
- type Requester_Get_Call
- type SendFunc
- type SendFunc_Execute_Call
- func (_c *SendFunc_Execute_Call) Return(_a0 int, _a1 error) *SendFunc_Execute_Call
- func (_c *SendFunc_Execute_Call) Run(run func(ctx context.Context, data string)) *SendFunc_Execute_Call
- func (_c *SendFunc_Execute_Call) RunAndReturn(run func(context.Context, string) (int, error)) *SendFunc_Execute_Call
- type SendFunc_Expecter
- type Sibling
- type Sibling_DoSomething_Call
- type Sibling_Expecter
- type StructWithTag
- type StructWithTag_Expecter
- type StructWithTag_MethodA_Call
- type UnsafeInterface
- type UnsafeInterface_Do_Call
- type UnsafeInterface_Expecter
- type UsesOtherPkgIface
- type UsesOtherPkgIface_DoSomethingElse_Call
- func (_c *UsesOtherPkgIface_DoSomethingElse_Call) Return() *UsesOtherPkgIface_DoSomethingElse_Call
- func (_c *UsesOtherPkgIface_DoSomethingElse_Call) Run(run func(obj test.Sibling)) *UsesOtherPkgIface_DoSomethingElse_Call
- func (_c *UsesOtherPkgIface_DoSomethingElse_Call) RunAndReturn(run func(test.Sibling)) *UsesOtherPkgIface_DoSomethingElse_Call
- type UsesOtherPkgIface_Expecter
- type Variadic
- type VariadicNoReturnInterface
- type VariadicNoReturnInterface_Expecter
- type VariadicNoReturnInterface_VariadicNoReturn_Call
- func (_c *VariadicNoReturnInterface_VariadicNoReturn_Call) Return() *VariadicNoReturnInterface_VariadicNoReturn_Call
- func (_c *VariadicNoReturnInterface_VariadicNoReturn_Call) Run(run func(j int, is ...interface{})) *VariadicNoReturnInterface_VariadicNoReturn_Call
- func (_c *VariadicNoReturnInterface_VariadicNoReturn_Call) RunAndReturn(run func(int, ...interface{})) *VariadicNoReturnInterface_VariadicNoReturn_Call
- type VariadicReturnFunc
- type VariadicReturnFunc_Expecter
- type VariadicReturnFunc_SampleMethod_Call
- func (_c *VariadicReturnFunc_SampleMethod_Call) Return(_a0 func(string, []int, ...interface{})) *VariadicReturnFunc_SampleMethod_Call
- func (_c *VariadicReturnFunc_SampleMethod_Call) Run(run func(str string)) *VariadicReturnFunc_SampleMethod_Call
- func (_c *VariadicReturnFunc_SampleMethod_Call) RunAndReturn(run func(string) func(string, []int, ...interface{})) *VariadicReturnFunc_SampleMethod_Call
- type Variadic_Expecter
- type Variadic_VariadicFunction_Call
- func (_c *Variadic_VariadicFunction_Call) Return(_a0 error) *Variadic_VariadicFunction_Call
- func (_c *Variadic_VariadicFunction_Call) Run(run func(str string, vFunc func(string, ...interface{}) interface{})) *Variadic_VariadicFunction_Call
- func (_c *Variadic_VariadicFunction_Call) RunAndReturn(run func(string, func(string, ...interface{}) interface{}) error) *Variadic_VariadicFunction_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type A ¶ added in v2.23.4
A is an autogenerated mock type for the A type
func NewA ¶ added in v2.23.4
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) EXPECT ¶ added in v2.23.4
func (_m *A) EXPECT() *A_Expecter
type A_Call_Call ¶ added in v2.23.4
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
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
func (_e *AsyncProducer_Expecter) Input() *AsyncProducer_Input_Call
Input is a helper method to define mock.On call
func (*AsyncProducer_Expecter) Output ¶ added in v2.23.4
func (_e *AsyncProducer_Expecter) Output() *AsyncProducer_Output_Call
Output is a helper method to define mock.On call
func (*AsyncProducer_Expecter) Whatever ¶ added in v2.23.4
func (_e *AsyncProducer_Expecter) Whatever() *AsyncProducer_Whatever_Call
Whatever is a helper method to define mock.On call
type AsyncProducer_Input_Call ¶ added in v2.23.4
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 (_c *AsyncProducer_Input_Call) Run(run func()) *AsyncProducer_Input_Call
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
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 (_c *AsyncProducer_Output_Call) Return(_a0 <-chan bool) *AsyncProducer_Output_Call
func (*AsyncProducer_Output_Call) Run ¶ added in v2.23.4
func (_c *AsyncProducer_Output_Call) Run(run func()) *AsyncProducer_Output_Call
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
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 (_c *AsyncProducer_Whatever_Call) Return(_a0 chan bool) *AsyncProducer_Whatever_Call
func (*AsyncProducer_Whatever_Call) Run ¶ added in v2.23.4
func (_c *AsyncProducer_Whatever_Call) Run(run func()) *AsyncProducer_Whatever_Call
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
Blank is an autogenerated mock type for the Blank type
func NewBlank ¶ added in v2.23.4
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) EXPECT ¶ added in v2.23.4
func (_m *Blank) EXPECT() *Blank_Expecter
type Blank_Create_Call ¶ added in v2.23.4
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
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
func (_e *ConsulLock_Expecter) Unlock() *ConsulLock_Unlock_Call
Unlock is a helper method to define mock.On call
type ConsulLock_Lock_Call ¶ added in v2.23.4
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
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 (_c *ConsulLock_Unlock_Call) Return(_a0 error) *ConsulLock_Unlock_Call
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
Example is an autogenerated mock type for the Example type
func NewExample ¶ added in v2.23.4
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) 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
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
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 (_c *Example_B_Call) Return(_a0 fixtureshttp.MyStruct) *Example_B_Call
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
func (_e *Example_Expecter) A() *Example_A_Call
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 ¶
Expecter is an autogenerated mock type for the Expecter type
func NewExpecter ¶
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 ¶
ManyArgsReturns provides a mock function with given fields: str, i
type ExpecterAndRolledVariadic ¶ added in v2.23.4
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 (_m *ExpecterAndRolledVariadic) EXPECT() *ExpecterAndRolledVariadic_Expecter
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
func (_e *ExpecterAndRolledVariadic_Expecter) NoArg() *ExpecterAndRolledVariadic_NoArg_Call
NoArg is a helper method to define mock.On call
func (*ExpecterAndRolledVariadic_Expecter) NoReturn ¶ added in v2.23.4
func (_e *ExpecterAndRolledVariadic_Expecter) NoReturn(str interface{}) *ExpecterAndRolledVariadic_NoReturn_Call
NoReturn is a helper method to define mock.On call
- str string
func (*ExpecterAndRolledVariadic_Expecter) Variadic ¶ added in v2.23.4
func (_e *ExpecterAndRolledVariadic_Expecter) Variadic(ints ...interface{}) *ExpecterAndRolledVariadic_Variadic_Call
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
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 (_c *ExpecterAndRolledVariadic_ManyArgsReturns_Call) Return(strs []string, err error) *ExpecterAndRolledVariadic_ManyArgsReturns_Call
func (*ExpecterAndRolledVariadic_ManyArgsReturns_Call) Run ¶ added in v2.23.4
func (_c *ExpecterAndRolledVariadic_ManyArgsReturns_Call) Run(run func(str string, i int)) *ExpecterAndRolledVariadic_ManyArgsReturns_Call
func (*ExpecterAndRolledVariadic_ManyArgsReturns_Call) RunAndReturn ¶ added in v2.23.4
func (_c *ExpecterAndRolledVariadic_ManyArgsReturns_Call) RunAndReturn(run func(string, int) ([]string, error)) *ExpecterAndRolledVariadic_ManyArgsReturns_Call
type ExpecterAndRolledVariadic_NoArg_Call ¶ added in v2.23.4
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 (_c *ExpecterAndRolledVariadic_NoArg_Call) Return(_a0 string) *ExpecterAndRolledVariadic_NoArg_Call
func (*ExpecterAndRolledVariadic_NoArg_Call) Run ¶ added in v2.23.4
func (_c *ExpecterAndRolledVariadic_NoArg_Call) Run(run func()) *ExpecterAndRolledVariadic_NoArg_Call
func (*ExpecterAndRolledVariadic_NoArg_Call) RunAndReturn ¶ added in v2.23.4
func (_c *ExpecterAndRolledVariadic_NoArg_Call) RunAndReturn(run func() string) *ExpecterAndRolledVariadic_NoArg_Call
type ExpecterAndRolledVariadic_NoReturn_Call ¶ added in v2.23.4
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 (_c *ExpecterAndRolledVariadic_NoReturn_Call) Return() *ExpecterAndRolledVariadic_NoReturn_Call
func (*ExpecterAndRolledVariadic_NoReturn_Call) Run ¶ added in v2.23.4
func (_c *ExpecterAndRolledVariadic_NoReturn_Call) Run(run func(str string)) *ExpecterAndRolledVariadic_NoReturn_Call
func (*ExpecterAndRolledVariadic_NoReturn_Call) RunAndReturn ¶ added in v2.23.4
func (_c *ExpecterAndRolledVariadic_NoReturn_Call) RunAndReturn(run func(string)) *ExpecterAndRolledVariadic_NoReturn_Call
type ExpecterAndRolledVariadic_VariadicMany_Call ¶ added in v2.23.4
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 (_c *ExpecterAndRolledVariadic_VariadicMany_Call) Return(_a0 error) *ExpecterAndRolledVariadic_VariadicMany_Call
func (*ExpecterAndRolledVariadic_VariadicMany_Call) Run ¶ added in v2.23.4
func (_c *ExpecterAndRolledVariadic_VariadicMany_Call) Run(run func(i int, a string, intfs ...interface{})) *ExpecterAndRolledVariadic_VariadicMany_Call
func (*ExpecterAndRolledVariadic_VariadicMany_Call) RunAndReturn ¶ added in v2.23.4
func (_c *ExpecterAndRolledVariadic_VariadicMany_Call) RunAndReturn(run func(int, string, ...interface{}) error) *ExpecterAndRolledVariadic_VariadicMany_Call
type ExpecterAndRolledVariadic_Variadic_Call ¶ added in v2.23.4
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 (_c *ExpecterAndRolledVariadic_Variadic_Call) Return(_a0 error) *ExpecterAndRolledVariadic_Variadic_Call
func (*ExpecterAndRolledVariadic_Variadic_Call) Run ¶ added in v2.23.4
func (_c *ExpecterAndRolledVariadic_Variadic_Call) Run(run func(ints ...int)) *ExpecterAndRolledVariadic_Variadic_Call
func (*ExpecterAndRolledVariadic_Variadic_Call) RunAndReturn ¶ added in v2.23.4
func (_c *ExpecterAndRolledVariadic_Variadic_Call) RunAndReturn(run func(...int) error) *ExpecterAndRolledVariadic_Variadic_Call
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 ¶
func (_e *Expecter_Expecter) NoArg() *Expecter_NoArg_Call
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 ¶
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 (_c *Expecter_ManyArgsReturns_Call) Return(strs []string, err error) *Expecter_ManyArgsReturns_Call
func (*Expecter_ManyArgsReturns_Call) Run ¶
func (_c *Expecter_ManyArgsReturns_Call) Run(run func(str string, i int)) *Expecter_ManyArgsReturns_Call
func (*Expecter_ManyArgsReturns_Call) RunAndReturn ¶
func (_c *Expecter_ManyArgsReturns_Call) RunAndReturn(run func(string, int) ([]string, error)) *Expecter_ManyArgsReturns_Call
type Expecter_NoArg_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 (_c *Expecter_NoArg_Call) Return(_a0 string) *Expecter_NoArg_Call
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 ¶
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 (_c *Expecter_NoReturn_Call) Return() *Expecter_NoReturn_Call
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 ¶
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 (_c *Expecter_VariadicMany_Call) Return(_a0 error) *Expecter_VariadicMany_Call
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 ¶
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 (_c *Expecter_Variadic_Call) Return(_a0 error) *Expecter_Variadic_Call
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
Fooer is an autogenerated mock type for the Fooer type
func NewFooer ¶ added in v2.23.4
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) EXPECT ¶ added in v2.23.4
func (_m *Fooer) EXPECT() *Fooer_Expecter
type Fooer_Bar_Call ¶ added in v2.23.4
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
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
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
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 (_m *FuncArgsCollision) EXPECT() *FuncArgsCollision_Expecter
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
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 (_c *FuncArgsCollision_Foo_Call) Return(_a0 error) *FuncArgsCollision_Foo_Call
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
GetInt is an autogenerated mock type for the GetInt type
func NewGetInt ¶ added in v2.23.4
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
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
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
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 (_m *HasConflictingNestedImports) EXPECT() *HasConflictingNestedImports_Expecter
func (*HasConflictingNestedImports) Get ¶ added in v2.23.4
func (_m *HasConflictingNestedImports) Get(path string) (http.Response, error)
Get provides a mock function with given fields: path
func (*HasConflictingNestedImports) Z ¶ added in v2.23.4
func (_m *HasConflictingNestedImports) Z() fixtureshttp.MyStruct
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
func (_e *HasConflictingNestedImports_Expecter) Get(path interface{}) *HasConflictingNestedImports_Get_Call
Get is a helper method to define mock.On call
- path string
type HasConflictingNestedImports_Get_Call ¶ added in v2.23.4
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 (_c *HasConflictingNestedImports_Get_Call) Return(_a0 http.Response, _a1 error) *HasConflictingNestedImports_Get_Call
func (*HasConflictingNestedImports_Get_Call) Run ¶ added in v2.23.4
func (_c *HasConflictingNestedImports_Get_Call) Run(run func(path string)) *HasConflictingNestedImports_Get_Call
func (*HasConflictingNestedImports_Get_Call) RunAndReturn ¶ added in v2.23.4
func (_c *HasConflictingNestedImports_Get_Call) RunAndReturn(run func(string) (http.Response, error)) *HasConflictingNestedImports_Get_Call
type HasConflictingNestedImports_Z_Call ¶ added in v2.23.4
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 (_c *HasConflictingNestedImports_Z_Call) Return(_a0 fixtureshttp.MyStruct) *HasConflictingNestedImports_Z_Call
func (*HasConflictingNestedImports_Z_Call) Run ¶ added in v2.23.4
func (_c *HasConflictingNestedImports_Z_Call) Run(run func()) *HasConflictingNestedImports_Z_Call
func (*HasConflictingNestedImports_Z_Call) RunAndReturn ¶ added in v2.23.4
func (_c *HasConflictingNestedImports_Z_Call) RunAndReturn(run func() fixtureshttp.MyStruct) *HasConflictingNestedImports_Z_Call
type ImportsSameAsPackage ¶ added in v2.23.4
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
func (_m *ImportsSameAsPackage) B() fixtures.KeyManager
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
func (_m *ImportsSameAsPackage) EXPECT() *ImportsSameAsPackage_Expecter
type ImportsSameAsPackage_A_Call ¶ added in v2.23.4
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 (_c *ImportsSameAsPackage_A_Call) Return(_a0 test.B) *ImportsSameAsPackage_A_Call
func (*ImportsSameAsPackage_A_Call) Run ¶ added in v2.23.4
func (_c *ImportsSameAsPackage_A_Call) Run(run func()) *ImportsSameAsPackage_A_Call
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
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 (_c *ImportsSameAsPackage_B_Call) Return(_a0 fixtures.KeyManager) *ImportsSameAsPackage_B_Call
func (*ImportsSameAsPackage_B_Call) Run ¶ added in v2.23.4
func (_c *ImportsSameAsPackage_B_Call) Run(run func()) *ImportsSameAsPackage_B_Call
func (*ImportsSameAsPackage_B_Call) RunAndReturn ¶ added in v2.23.4
func (_c *ImportsSameAsPackage_B_Call) RunAndReturn(run func() fixtures.KeyManager) *ImportsSameAsPackage_B_Call
type ImportsSameAsPackage_C_Call ¶ added in v2.23.4
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 (_c *ImportsSameAsPackage_C_Call) Return() *ImportsSameAsPackage_C_Call
func (*ImportsSameAsPackage_C_Call) Run ¶ added in v2.23.4
func (_c *ImportsSameAsPackage_C_Call) Run(run func(_a0 fixtures.C)) *ImportsSameAsPackage_C_Call
func (*ImportsSameAsPackage_C_Call) RunAndReturn ¶ added in v2.23.4
func (_c *ImportsSameAsPackage_C_Call) RunAndReturn(run func(fixtures.C)) *ImportsSameAsPackage_C_Call
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
func (_e *ImportsSameAsPackage_Expecter) A() *ImportsSameAsPackage_A_Call
A is a helper method to define mock.On call
func (*ImportsSameAsPackage_Expecter) B ¶ added in v2.23.4
func (_e *ImportsSameAsPackage_Expecter) B() *ImportsSameAsPackage_B_Call
B is a helper method to define mock.On call
func (*ImportsSameAsPackage_Expecter) C ¶ added in v2.23.4
func (_e *ImportsSameAsPackage_Expecter) C(_a0 interface{}) *ImportsSameAsPackage_C_Call
C is a helper method to define mock.On call
- _a0 fixtures.C
type Issue766 ¶ added in v2.42.3
Issue766 is an autogenerated mock type for the Issue766 type
func NewIssue766 ¶ added in v2.42.3
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
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
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
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
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
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
MapFunc is an autogenerated mock type for the MapFunc type
func NewMapFunc ¶ added in v2.23.4
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
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
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
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 (_m *MapToInterface) EXPECT() *MapToInterface_Expecter
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
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 (_c *MapToInterface_Foo_Call) Return() *MapToInterface_Foo_Call
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
MyReader is an autogenerated mock type for the MyReader type
func NewMyReader ¶ added in v2.23.4
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
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
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
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
func (_m *PanicOnNoReturnValue) EXPECT() *PanicOnNoReturnValue_Expecter
type PanicOnNoReturnValue_DoSomething_Call ¶ added in v2.38.0
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 (_c *PanicOnNoReturnValue_DoSomething_Call) Return(_a0 string) *PanicOnNoReturnValue_DoSomething_Call
func (*PanicOnNoReturnValue_DoSomething_Call) Run ¶ added in v2.38.0
func (_c *PanicOnNoReturnValue_DoSomething_Call) Run(run func()) *PanicOnNoReturnValue_DoSomething_Call
func (*PanicOnNoReturnValue_DoSomething_Call) RunAndReturn ¶ added in v2.38.0
func (_c *PanicOnNoReturnValue_DoSomething_Call) RunAndReturn(run func() string) *PanicOnNoReturnValue_DoSomething_Call
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
func (_e *PanicOnNoReturnValue_Expecter) DoSomething() *PanicOnNoReturnValue_DoSomething_Call
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
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
func (_m *ReplaceGenericSelf) A() *ReplaceGenericSelf
A provides a mock function with given fields:
func (*ReplaceGenericSelf) EXPECT ¶ added in v2.42.0
func (_m *ReplaceGenericSelf) EXPECT() *ReplaceGenericSelf_Expecter
type ReplaceGenericSelf_A_Call ¶ added in v2.42.0
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 (_c *ReplaceGenericSelf_A_Call) Return(_a0 *ReplaceGenericSelf) *ReplaceGenericSelf_A_Call
func (*ReplaceGenericSelf_A_Call) Run ¶ added in v2.42.0
func (_c *ReplaceGenericSelf_A_Call) Run(run func()) *ReplaceGenericSelf_A_Call
func (*ReplaceGenericSelf_A_Call) RunAndReturn ¶ added in v2.42.0
func (_c *ReplaceGenericSelf_A_Call) RunAndReturn(run func() *ReplaceGenericSelf) *ReplaceGenericSelf_A_Call
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
func (_e *ReplaceGenericSelf_Expecter) A() *ReplaceGenericSelf_A_Call
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
Requester is an autogenerated mock type for the Requester type
func NewRequester ¶ added in v2.23.4
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
type Requester2 ¶ added in v2.23.4
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
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 (_c *Requester2_Get_Call) Return(_a0 error) *Requester2_Get_Call
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
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
func (_e *Requester3_Expecter) Get() *Requester3_Get_Call
Get is a helper method to define mock.On call
type Requester3_Get_Call ¶ added in v2.23.4
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 (_c *Requester3_Get_Call) Return(_a0 error) *Requester3_Get_Call
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
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
func (_e *Requester4_Expecter) Get() *Requester4_Get_Call
Get is a helper method to define mock.On call
type Requester4_Get_Call ¶ added in v2.23.4
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 (_c *Requester4_Get_Call) Return() *Requester4_Get_Call
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
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 (_m *RequesterArgSameAsImport) EXPECT() *RequesterArgSameAsImport_Expecter
func (*RequesterArgSameAsImport) Get ¶ added in v2.23.4
func (_m *RequesterArgSameAsImport) Get(_a0 string) *json.RawMessage
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
func (_e *RequesterArgSameAsImport_Expecter) Get(_a0 interface{}) *RequesterArgSameAsImport_Get_Call
Get is a helper method to define mock.On call
- _a0 string
type RequesterArgSameAsImport_Get_Call ¶ added in v2.23.4
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 (_c *RequesterArgSameAsImport_Get_Call) Return(_a0 *json.RawMessage) *RequesterArgSameAsImport_Get_Call
func (*RequesterArgSameAsImport_Get_Call) Run ¶ added in v2.23.4
func (_c *RequesterArgSameAsImport_Get_Call) Run(run func(_a0 string)) *RequesterArgSameAsImport_Get_Call
func (*RequesterArgSameAsImport_Get_Call) RunAndReturn ¶ added in v2.23.4
func (_c *RequesterArgSameAsImport_Get_Call) RunAndReturn(run func(string) *json.RawMessage) *RequesterArgSameAsImport_Get_Call
type RequesterArgSameAsNamedImport ¶
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 (_m *RequesterArgSameAsNamedImport) EXPECT() *RequesterArgSameAsNamedImport_Expecter
func (*RequesterArgSameAsNamedImport) Get ¶
func (_m *RequesterArgSameAsNamedImport) Get(_a0 string) *json.RawMessage
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 ¶
func (_e *RequesterArgSameAsNamedImport_Expecter) Get(_a0 interface{}) *RequesterArgSameAsNamedImport_Get_Call
Get is a helper method to define mock.On call
- _a0 string
type RequesterArgSameAsNamedImport_Get_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 (_c *RequesterArgSameAsNamedImport_Get_Call) Return(_a0 *json.RawMessage) *RequesterArgSameAsNamedImport_Get_Call
func (*RequesterArgSameAsNamedImport_Get_Call) Run ¶
func (_c *RequesterArgSameAsNamedImport_Get_Call) Run(run func(_a0 string)) *RequesterArgSameAsNamedImport_Get_Call
func (*RequesterArgSameAsNamedImport_Get_Call) RunAndReturn ¶
func (_c *RequesterArgSameAsNamedImport_Get_Call) RunAndReturn(run func(string) *json.RawMessage) *RequesterArgSameAsNamedImport_Get_Call
type RequesterArgSameAsPkg ¶ added in v2.23.4
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 (_m *RequesterArgSameAsPkg) EXPECT() *RequesterArgSameAsPkg_Expecter
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
func (_e *RequesterArgSameAsPkg_Expecter) Get(_a0 interface{}) *RequesterArgSameAsPkg_Get_Call
Get is a helper method to define mock.On call
- _a0 string
type RequesterArgSameAsPkg_Get_Call ¶ added in v2.23.4
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 (_c *RequesterArgSameAsPkg_Get_Call) Return() *RequesterArgSameAsPkg_Get_Call
func (*RequesterArgSameAsPkg_Get_Call) Run ¶ added in v2.23.4
func (_c *RequesterArgSameAsPkg_Get_Call) Run(run func(_a0 string)) *RequesterArgSameAsPkg_Get_Call
func (*RequesterArgSameAsPkg_Get_Call) RunAndReturn ¶ added in v2.23.4
func (_c *RequesterArgSameAsPkg_Get_Call) RunAndReturn(run func(string)) *RequesterArgSameAsPkg_Get_Call
type RequesterArray ¶ added in v2.23.4
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 (_m *RequesterArray) EXPECT() *RequesterArray_Expecter
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
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 (_c *RequesterArray_Get_Call) Return(_a0 [2]string, _a1 error) *RequesterArray_Get_Call
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
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 (_m *RequesterElided) EXPECT() *RequesterElided_Expecter
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
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 (_c *RequesterElided_Get_Call) Return(_a0 error) *RequesterElided_Get_Call
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
func (_c *RequesterElided_Get_Call) RunAndReturn(run func(string, string) error) *RequesterElided_Get_Call
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
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 (_m *RequesterIface) EXPECT() *RequesterIface_Expecter
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
func (_e *RequesterIface_Expecter) Get() *RequesterIface_Get_Call
Get is a helper method to define mock.On call
type RequesterIface_Get_Call ¶ added in v2.23.4
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 (_c *RequesterIface_Get_Call) Return(_a0 io.Reader) *RequesterIface_Get_Call
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
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
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
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 (_c *RequesterNS_Get_Call) Return(_a0 http.Response, _a1 error) *RequesterNS_Get_Call
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
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
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
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 (_c *RequesterPtr_Get_Call) Return(_a0 *string, _a1 error) *RequesterPtr_Get_Call
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 ¶
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 (_m *RequesterReturnElided) EXPECT() *RequesterReturnElided_Expecter
type RequesterReturnElided_Expecter ¶
type RequesterReturnElided_Expecter struct {
// contains filtered or unexported fields
}
func (*RequesterReturnElided_Expecter) Get ¶
func (_e *RequesterReturnElided_Expecter) Get(path interface{}) *RequesterReturnElided_Get_Call
Get is a helper method to define mock.On call
- path string
func (*RequesterReturnElided_Expecter) Put ¶
func (_e *RequesterReturnElided_Expecter) Put(path interface{}) *RequesterReturnElided_Put_Call
Put is a helper method to define mock.On call
- path string
type RequesterReturnElided_Get_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 (_c *RequesterReturnElided_Get_Call) Return(a int, b int, c int, err error) *RequesterReturnElided_Get_Call
func (*RequesterReturnElided_Get_Call) Run ¶
func (_c *RequesterReturnElided_Get_Call) Run(run func(path string)) *RequesterReturnElided_Get_Call
func (*RequesterReturnElided_Get_Call) RunAndReturn ¶
func (_c *RequesterReturnElided_Get_Call) RunAndReturn(run func(string) (int, int, int, error)) *RequesterReturnElided_Get_Call
type RequesterReturnElided_Put_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 (_c *RequesterReturnElided_Put_Call) Return(_a0 int, err error) *RequesterReturnElided_Put_Call
func (*RequesterReturnElided_Put_Call) Run ¶
func (_c *RequesterReturnElided_Put_Call) Run(run func(path string)) *RequesterReturnElided_Put_Call
func (*RequesterReturnElided_Put_Call) RunAndReturn ¶
func (_c *RequesterReturnElided_Put_Call) RunAndReturn(run func(string) (int, error)) *RequesterReturnElided_Put_Call
type RequesterSlice ¶ added in v2.23.4
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 (_m *RequesterSlice) EXPECT() *RequesterSlice_Expecter
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
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 (_c *RequesterSlice_Get_Call) Return(_a0 []string, _a1 error) *RequesterSlice_Get_Call
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 ¶
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 ¶
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
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
SendFunc is an autogenerated mock type for the SendFunc type
func NewSendFunc ¶ added in v2.23.4
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
type SendFunc_Execute_Call ¶ added in v2.23.4
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
Sibling is an autogenerated mock type for the Sibling type
func NewSibling ¶ added in v2.23.4
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
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 (_c *Sibling_DoSomething_Call) Return() *Sibling_DoSomething_Call
func (*Sibling_DoSomething_Call) Run ¶ added in v2.23.4
func (_c *Sibling_DoSomething_Call) Run(run func()) *Sibling_DoSomething_Call
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
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
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
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
func (_m *UnsafeInterface) EXPECT() *UnsafeInterface_Expecter
type UnsafeInterface_Do_Call ¶ added in v2.23.4
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 (_c *UnsafeInterface_Do_Call) Return() *UnsafeInterface_Do_Call
func (*UnsafeInterface_Do_Call) Run ¶ added in v2.23.4
func (_c *UnsafeInterface_Do_Call) Run(run func(ptr *unsafe.Pointer)) *UnsafeInterface_Do_Call
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
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
func (_m *UsesOtherPkgIface) EXPECT() *UsesOtherPkgIface_Expecter
type UsesOtherPkgIface_DoSomethingElse_Call ¶ added in v2.23.4
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 (_c *UsesOtherPkgIface_DoSomethingElse_Call) Return() *UsesOtherPkgIface_DoSomethingElse_Call
func (*UsesOtherPkgIface_DoSomethingElse_Call) Run ¶ added in v2.23.4
func (_c *UsesOtherPkgIface_DoSomethingElse_Call) Run(run func(obj test.Sibling)) *UsesOtherPkgIface_DoSomethingElse_Call
func (*UsesOtherPkgIface_DoSomethingElse_Call) RunAndReturn ¶ added in v2.23.4
func (_c *UsesOtherPkgIface_DoSomethingElse_Call) RunAndReturn(run func(test.Sibling)) *UsesOtherPkgIface_DoSomethingElse_Call
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
Variadic is an autogenerated mock type for the Variadic type
func NewVariadic ¶ added in v2.40.1
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
type VariadicNoReturnInterface ¶ added in v2.33.2
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 (_m *VariadicNoReturnInterface) EXPECT() *VariadicNoReturnInterface_Expecter
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
VariadicNoReturnInterface_VariadicNoReturn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VariadicNoReturn'
func (*VariadicNoReturnInterface_VariadicNoReturn_Call) Run ¶ added in v2.33.2
func (_c *VariadicNoReturnInterface_VariadicNoReturn_Call) Run(run func(j int, is ...interface{})) *VariadicNoReturnInterface_VariadicNoReturn_Call
func (*VariadicNoReturnInterface_VariadicNoReturn_Call) RunAndReturn ¶ added in v2.33.2
func (_c *VariadicNoReturnInterface_VariadicNoReturn_Call) RunAndReturn(run func(int, ...interface{})) *VariadicNoReturnInterface_VariadicNoReturn_Call
type VariadicReturnFunc ¶ added in v2.40.1
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 (_m *VariadicReturnFunc) EXPECT() *VariadicReturnFunc_Expecter
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
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 (_c *VariadicReturnFunc_SampleMethod_Call) Run(run func(str string)) *VariadicReturnFunc_SampleMethod_Call
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
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 (_c *Variadic_VariadicFunction_Call) Return(_a0 error) *Variadic_VariadicFunction_Call
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
Source Files
¶
- A.go
- AsyncProducer.go
- Blank.go
- ConsulLock.go
- EmbeddedGet.go
- Example.go
- Expecter.go
- ExpecterAndRolledVariadic.go
- Fooer.go
- FuncArgsCollision.go
- GetGeneric.go
- GetInt.go
- HasConflictingNestedImports.go
- ImportsSameAsPackage.go
- Issue766.go
- KeyManager.go
- MapFunc.go
- MapToInterface.go
- MyReader.go
- PanicOnNoReturnValue.go
- ReplaceGeneric.go
- ReplaceGenericSelf.go
- Requester.go
- Requester2.go
- Requester3.go
- Requester4.go
- RequesterArgSameAsImport.go
- RequesterArgSameAsNamedImport.go
- RequesterArgSameAsPkg.go
- RequesterArray.go
- RequesterElided.go
- RequesterGenerics.go
- RequesterIface.go
- RequesterNS.go
- RequesterPtr.go
- RequesterReturnElided.go
- RequesterSlice.go
- RequesterVariadic.go
- RequesterVariadicOneArgument.go
- SendFunc.go
- Sibling.go
- StructWithTag.go
- UnsafeInterface.go
- UsesOtherPkgIface.go
- Variadic.go
- VariadicNoReturnInterface.go
- VariadicReturnFunc.go
- requester_unexported.go