pkgout

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DoSomethingWithParam_genType

type DoSomethingWithParam_genType func(testmoqs.Param)

DoSomethingWithParam_genType is the fabricated implementation type of this mock (emitted when mocking functions directly and not from a function type)

type MoqDoSomethingWithParam_genType

MoqDoSomethingWithParam_genType holds the state of a moq of the DoSomethingWithParam_genType type

func NewMoqDoSomethingWithParam_genType

func NewMoqDoSomethingWithParam_genType(scene *moq.Scene, config *moq.Config) *MoqDoSomethingWithParam_genType

NewMoqDoSomethingWithParam_genType creates a new moq of the DoSomethingWithParam_genType type

func (*MoqDoSomethingWithParam_genType) AssertExpectationsMet

func (m *MoqDoSomethingWithParam_genType) AssertExpectationsMet()

AssertExpectationsMet asserts that all expectations have been met

func (*MoqDoSomethingWithParam_genType) Mock

Mock returns the moq implementation of the DoSomethingWithParam_genType type

func (*MoqDoSomethingWithParam_genType) OnCall

func (*MoqDoSomethingWithParam_genType) Reset

Reset resets the state of the moq

type MoqDoSomethingWithParam_genType_adaptor added in v0.28.0

type MoqDoSomethingWithParam_genType_adaptor struct {
	Moq *MoqDoSomethingWithParam_genType
}

MoqDoSomethingWithParam_genType_adaptor adapts MoqDoSomethingWithParam_genType as needed by the runtime

func (*MoqDoSomethingWithParam_genType_adaptor) ParamsKey added in v0.28.0

func (*MoqDoSomethingWithParam_genType_adaptor) PrettyParams added in v0.28.0

type MoqDoSomethingWithParam_genType_anyParams

type MoqDoSomethingWithParam_genType_anyParams struct {
	Recorder *MoqDoSomethingWithParam_genType_recorder
}

MoqDoSomethingWithParam_genType_anyParams isolates the any params functions of the DoSomethingWithParam_genType type

func (*MoqDoSomethingWithParam_genType_anyParams) Param1

type MoqDoSomethingWithParam_genType_doFn

type MoqDoSomethingWithParam_genType_doFn func(testmoqs.Param)

MoqDoSomethingWithParam_genType_doFn defines the type of function needed when calling AndDo for the DoSomethingWithParam_genType type

type MoqDoSomethingWithParam_genType_doReturnFn

type MoqDoSomethingWithParam_genType_doReturnFn func(testmoqs.Param)

MoqDoSomethingWithParam_genType_doReturnFn defines the type of function needed when calling DoReturnResults for the DoSomethingWithParam_genType type

type MoqDoSomethingWithParam_genType_paramIndexing added in v0.28.0

type MoqDoSomethingWithParam_genType_paramIndexing struct {
	Param1 moq.ParamIndexing
}

MoqDoSomethingWithParam_genType_paramIndexing holds the parameter indexing runtime configuration for the DoSomethingWithParam_genType type

type MoqDoSomethingWithParam_genType_params

type MoqDoSomethingWithParam_genType_params struct{ Param1 testmoqs.Param }

MoqDoSomethingWithParam_genType_params holds the params of the DoSomethingWithParam_genType type

type MoqDoSomethingWithParam_genType_paramsKey

type MoqDoSomethingWithParam_genType_paramsKey struct {
	Params struct{ Param1 testmoqs.Param }
	Hashes struct{ Param1 hash.Hash }
}

MoqDoSomethingWithParam_genType_paramsKey holds the map key params of the DoSomethingWithParam_genType type

type MoqDoSomethingWithParam_genType_recorder added in v0.28.0

MoqDoSomethingWithParam_genType_recorder routes recorded function calls to the MoqDoSomethingWithParam_genType moq

func (*MoqDoSomethingWithParam_genType_recorder) AndDo added in v0.28.0

func (*MoqDoSomethingWithParam_genType_recorder) Any added in v0.28.0

func (*MoqDoSomethingWithParam_genType_recorder) DoReturnResults added in v0.28.0

func (*MoqDoSomethingWithParam_genType_recorder) NoSeq added in v0.28.0

func (*MoqDoSomethingWithParam_genType_recorder) Repeat added in v0.28.0

func (*MoqDoSomethingWithParam_genType_recorder) ReturnResults added in v0.28.0

func (*MoqDoSomethingWithParam_genType_recorder) Seq added in v0.28.0

type MoqDoSomethingWithParam_genType_results

type MoqDoSomethingWithParam_genType_results struct{}

MoqDoSomethingWithParam_genType_results holds the results of the DoSomethingWithParam_genType type

type MoqDoSomethingWithParam_genType_runtime added in v0.28.0

type MoqDoSomethingWithParam_genType_runtime struct {
	ParameterIndexing MoqDoSomethingWithParam_genType_paramIndexing
}

MoqDoSomethingWithParam_genType_runtime holds runtime configuration for the DoSomethingWithParam_genType type

type MoqPassByRefSimple_genType

MoqPassByRefSimple_genType holds the state of a moq of the PassByRefSimple_genType type

func NewMoqPassByRefSimple_genType

func NewMoqPassByRefSimple_genType(scene *moq.Scene, config *moq.Config) *MoqPassByRefSimple_genType

NewMoqPassByRefSimple_genType creates a new moq of the PassByRefSimple_genType type

func (*MoqPassByRefSimple_genType) AssertExpectationsMet

func (m *MoqPassByRefSimple_genType) AssertExpectationsMet()

AssertExpectationsMet asserts that all expectations have been met

func (*MoqPassByRefSimple_genType) Mock

Mock returns the mock implementation of the PassByRefSimple_genType type

func (*MoqPassByRefSimple_genType) OnCall

OnCall returns the recorder implementation of the PassByRefSimple_genType type

func (*MoqPassByRefSimple_genType) Reset

func (m *MoqPassByRefSimple_genType) Reset()

Reset resets the state of the moq

type MoqPassByRefSimple_genType_Usual_adaptor added in v0.28.0

type MoqPassByRefSimple_genType_Usual_adaptor struct {
	Moq *MoqPassByRefSimple_genType
}

MoqPassByRefSimple_genType_Usual_adaptor adapts MoqPassByRefSimple_genType as needed by the runtime

func (*MoqPassByRefSimple_genType_Usual_adaptor) ParamsKey added in v0.28.0

func (*MoqPassByRefSimple_genType_Usual_adaptor) PrettyParams added in v0.28.0

type MoqPassByRefSimple_genType_Usual_anyParams

type MoqPassByRefSimple_genType_Usual_anyParams struct {
	Recorder *MoqPassByRefSimple_genType_Usual_recorder
}

MoqPassByRefSimple_genType_Usual_anyParams isolates the any params functions of the PassByRefSimple_genType type

func (*MoqPassByRefSimple_genType_Usual_anyParams) Param1

func (*MoqPassByRefSimple_genType_Usual_anyParams) Param2

type MoqPassByRefSimple_genType_Usual_doFn

type MoqPassByRefSimple_genType_Usual_doFn func(string, bool)

MoqPassByRefSimple_genType_Usual_doFn defines the type of function needed when calling AndDo for the PassByRefSimple_genType type

type MoqPassByRefSimple_genType_Usual_doReturnFn

type MoqPassByRefSimple_genType_Usual_doReturnFn func(string, bool) (string, error)

MoqPassByRefSimple_genType_Usual_doReturnFn defines the type of function needed when calling DoReturnResults for the PassByRefSimple_genType type

type MoqPassByRefSimple_genType_Usual_paramIndexing added in v0.28.0

type MoqPassByRefSimple_genType_Usual_paramIndexing struct {
	Param1 moq.ParamIndexing
	Param2 moq.ParamIndexing
}

MoqPassByRefSimple_genType_Usual_paramIndexing holds the parameter indexing runtime configuration for the PassByRefSimple_genType type

type MoqPassByRefSimple_genType_Usual_params

type MoqPassByRefSimple_genType_Usual_params struct {
	Param1 string
	Param2 bool
}

MoqPassByRefSimple_genType_Usual_params holds the params of the PassByRefSimple_genType type

type MoqPassByRefSimple_genType_Usual_paramsKey

type MoqPassByRefSimple_genType_Usual_paramsKey struct {
	Params struct {
		Param1 string
		Param2 bool
	}
	Hashes struct {
		Param1 hash.Hash
		Param2 hash.Hash
	}
}

MoqPassByRefSimple_genType_Usual_paramsKey holds the map key params of the PassByRefSimple_genType type

type MoqPassByRefSimple_genType_Usual_recorder added in v0.28.0

MoqPassByRefSimple_genType_Usual_recorder routes recorded function calls to the MoqPassByRefSimple_genType moq

func (*MoqPassByRefSimple_genType_Usual_recorder) AndDo added in v0.28.0

func (*MoqPassByRefSimple_genType_Usual_recorder) Any added in v0.28.0

func (*MoqPassByRefSimple_genType_Usual_recorder) DoReturnResults added in v0.28.0

func (*MoqPassByRefSimple_genType_Usual_recorder) NoSeq added in v0.28.0

func (*MoqPassByRefSimple_genType_Usual_recorder) Repeat added in v0.28.0

func (*MoqPassByRefSimple_genType_Usual_recorder) ReturnResults added in v0.28.0

func (*MoqPassByRefSimple_genType_Usual_recorder) Seq added in v0.28.0

type MoqPassByRefSimple_genType_Usual_results

type MoqPassByRefSimple_genType_Usual_results struct {
	Result1 string
	Result2 error
}

MoqPassByRefSimple_genType_Usual_results holds the results of the PassByRefSimple_genType type

type MoqPassByRefSimple_genType_mock

type MoqPassByRefSimple_genType_mock struct {
	Moq *MoqPassByRefSimple_genType
}

MoqPassByRefSimple_genType_mock isolates the mock interface of the PassByRefSimple_genType type

func (*MoqPassByRefSimple_genType_mock) Usual

func (m *MoqPassByRefSimple_genType_mock) Usual(param1 string, param2 bool) (string, error)

type MoqPassByRefSimple_genType_recorder

type MoqPassByRefSimple_genType_recorder struct {
	Moq *MoqPassByRefSimple_genType
}

MoqPassByRefSimple_genType_recorder isolates the recorder interface of the PassByRefSimple_genType type

func (*MoqPassByRefSimple_genType_recorder) Usual

type MoqPassByRefSimple_genType_runtime added in v0.28.0

type MoqPassByRefSimple_genType_runtime struct {
	ParameterIndexing struct {
		Usual MoqPassByRefSimple_genType_Usual_paramIndexing
	}
}

MoqPassByRefSimple_genType_runtime holds runtime configuration for the PassByRefSimple_genType type

type MoqPassByValueSimple_genType

MoqPassByValueSimple_genType holds the state of a moq of the PassByValueSimple_genType type

func NewMoqPassByValueSimple_genType

func NewMoqPassByValueSimple_genType(scene *moq.Scene, config *moq.Config) *MoqPassByValueSimple_genType

NewMoqPassByValueSimple_genType creates a new moq of the PassByValueSimple_genType type

func (*MoqPassByValueSimple_genType) AssertExpectationsMet

func (m *MoqPassByValueSimple_genType) AssertExpectationsMet()

AssertExpectationsMet asserts that all expectations have been met

func (*MoqPassByValueSimple_genType) Mock

Mock returns the mock implementation of the PassByValueSimple_genType type

func (*MoqPassByValueSimple_genType) OnCall

OnCall returns the recorder implementation of the PassByValueSimple_genType type

func (*MoqPassByValueSimple_genType) Reset

func (m *MoqPassByValueSimple_genType) Reset()

Reset resets the state of the moq

type MoqPassByValueSimple_genType_Usual_adaptor added in v0.28.0

type MoqPassByValueSimple_genType_Usual_adaptor struct {
	Moq *MoqPassByValueSimple_genType
}

MoqPassByValueSimple_genType_Usual_adaptor adapts MoqPassByValueSimple_genType as needed by the runtime

func (*MoqPassByValueSimple_genType_Usual_adaptor) ParamsKey added in v0.28.0

func (*MoqPassByValueSimple_genType_Usual_adaptor) PrettyParams added in v0.28.0

type MoqPassByValueSimple_genType_Usual_anyParams

type MoqPassByValueSimple_genType_Usual_anyParams struct {
	Recorder *MoqPassByValueSimple_genType_Usual_recorder
}

MoqPassByValueSimple_genType_Usual_anyParams isolates the any params functions of the PassByValueSimple_genType type

func (*MoqPassByValueSimple_genType_Usual_anyParams) Param1

func (*MoqPassByValueSimple_genType_Usual_anyParams) Param2

type MoqPassByValueSimple_genType_Usual_doFn

type MoqPassByValueSimple_genType_Usual_doFn func(string, bool)

MoqPassByValueSimple_genType_Usual_doFn defines the type of function needed when calling AndDo for the PassByValueSimple_genType type

type MoqPassByValueSimple_genType_Usual_doReturnFn

type MoqPassByValueSimple_genType_Usual_doReturnFn func(string, bool) (string, error)

MoqPassByValueSimple_genType_Usual_doReturnFn defines the type of function needed when calling DoReturnResults for the PassByValueSimple_genType type

type MoqPassByValueSimple_genType_Usual_paramIndexing added in v0.28.0

type MoqPassByValueSimple_genType_Usual_paramIndexing struct {
	Param1 moq.ParamIndexing
	Param2 moq.ParamIndexing
}

MoqPassByValueSimple_genType_Usual_paramIndexing holds the parameter indexing runtime configuration for the PassByValueSimple_genType type

type MoqPassByValueSimple_genType_Usual_params

type MoqPassByValueSimple_genType_Usual_params struct {
	Param1 string
	Param2 bool
}

MoqPassByValueSimple_genType_Usual_params holds the params of the PassByValueSimple_genType type

type MoqPassByValueSimple_genType_Usual_paramsKey

type MoqPassByValueSimple_genType_Usual_paramsKey struct {
	Params struct {
		Param1 string
		Param2 bool
	}
	Hashes struct {
		Param1 hash.Hash
		Param2 hash.Hash
	}
}

MoqPassByValueSimple_genType_Usual_paramsKey holds the map key params of the PassByValueSimple_genType type

type MoqPassByValueSimple_genType_Usual_recorder added in v0.28.0

MoqPassByValueSimple_genType_Usual_recorder routes recorded function calls to the MoqPassByValueSimple_genType moq

func (*MoqPassByValueSimple_genType_Usual_recorder) AndDo added in v0.28.0

func (*MoqPassByValueSimple_genType_Usual_recorder) Any added in v0.28.0

func (*MoqPassByValueSimple_genType_Usual_recorder) DoReturnResults added in v0.28.0

func (*MoqPassByValueSimple_genType_Usual_recorder) NoSeq added in v0.28.0

func (*MoqPassByValueSimple_genType_Usual_recorder) Repeat added in v0.28.0

func (*MoqPassByValueSimple_genType_Usual_recorder) ReturnResults added in v0.28.0

func (*MoqPassByValueSimple_genType_Usual_recorder) Seq added in v0.28.0

type MoqPassByValueSimple_genType_Usual_results

type MoqPassByValueSimple_genType_Usual_results struct {
	Result1 string
	Result2 error
}

MoqPassByValueSimple_genType_Usual_results holds the results of the PassByValueSimple_genType type

type MoqPassByValueSimple_genType_mock

type MoqPassByValueSimple_genType_mock struct {
	Moq *MoqPassByValueSimple_genType
}

MoqPassByValueSimple_genType_mock isolates the mock interface of the PassByValueSimple_genType type

func (*MoqPassByValueSimple_genType_mock) Usual

func (m *MoqPassByValueSimple_genType_mock) Usual(param1 string, param2 bool) (string, error)

type MoqPassByValueSimple_genType_recorder

type MoqPassByValueSimple_genType_recorder struct {
	Moq *MoqPassByValueSimple_genType
}

MoqPassByValueSimple_genType_recorder isolates the recorder interface of the PassByValueSimple_genType type

func (*MoqPassByValueSimple_genType_recorder) Usual

type MoqPassByValueSimple_genType_runtime added in v0.28.0

type MoqPassByValueSimple_genType_runtime struct {
	ParameterIndexing struct {
		Usual MoqPassByValueSimple_genType_Usual_paramIndexing
	}
}

MoqPassByValueSimple_genType_runtime holds runtime configuration for the PassByValueSimple_genType type

type MoqReduced

MoqReduced holds the state of a moq of the Reduced_reduced type

func NewMoqReduced

func NewMoqReduced(scene *moq.Scene, config *moq.Config) *MoqReduced

NewMoqReduced creates a new moq of the Reduced type

func (*MoqReduced) AssertExpectationsMet

func (m *MoqReduced) AssertExpectationsMet()

AssertExpectationsMet asserts that all expectations have been met

func (*MoqReduced) Mock

func (m *MoqReduced) Mock() *MoqReduced_mock

Mock returns the mock implementation of the Reduced type

func (*MoqReduced) OnCall

func (m *MoqReduced) OnCall() *MoqReduced_recorder

OnCall returns the recorder implementation of the Reduced type

func (*MoqReduced) Reset

func (m *MoqReduced) Reset()

Reset resets the state of the moq

type MoqReduced_ReallyUnusualParams_adaptor added in v0.28.0

type MoqReduced_ReallyUnusualParams_adaptor struct {
	Moq *MoqReduced
}

MoqReduced_ReallyUnusualParams_adaptor adapts MoqReduced as needed by the runtime

func (*MoqReduced_ReallyUnusualParams_adaptor) ParamsKey added in v0.28.0

func (*MoqReduced_ReallyUnusualParams_adaptor) PrettyParams added in v0.28.0

type MoqReduced_ReallyUnusualParams_anyParams

type MoqReduced_ReallyUnusualParams_anyParams struct {
	Recorder *MoqReduced_ReallyUnusualParams_recorder
}

MoqReduced_ReallyUnusualParams_anyParams isolates the any params functions of the Reduced type

func (*MoqReduced_ReallyUnusualParams_anyParams) Param1

type MoqReduced_ReallyUnusualParams_doFn

type MoqReduced_ReallyUnusualParams_doFn func(struct {
	// contains filtered or unexported fields
})

MoqReduced_ReallyUnusualParams_doFn defines the type of function needed when calling AndDo for the Reduced type

type MoqReduced_ReallyUnusualParams_doReturnFn

type MoqReduced_ReallyUnusualParams_doReturnFn func(struct {
	// contains filtered or unexported fields
})

MoqReduced_ReallyUnusualParams_doReturnFn defines the type of function needed when calling DoReturnResults for the Reduced type

type MoqReduced_ReallyUnusualParams_paramIndexing added in v0.28.0

type MoqReduced_ReallyUnusualParams_paramIndexing struct {
	Param1 moq.ParamIndexing
}

MoqReduced_ReallyUnusualParams_paramIndexing holds the parameter indexing runtime configuration for the Reduced type

type MoqReduced_ReallyUnusualParams_params

type MoqReduced_ReallyUnusualParams_params struct {
	Param1 struct {
		// contains filtered or unexported fields
	}
}

MoqReduced_ReallyUnusualParams_params holds the params of the Reduced type

type MoqReduced_ReallyUnusualParams_paramsKey

type MoqReduced_ReallyUnusualParams_paramsKey struct {
	Params struct {
		Param1 struct {
			// contains filtered or unexported fields
		}
	}
	Hashes struct{ Param1 hash.Hash }
}

MoqReduced_ReallyUnusualParams_paramsKey holds the map key params of the Reduced type

type MoqReduced_ReallyUnusualParams_recorder added in v0.28.0

MoqReduced_ReallyUnusualParams_recorder routes recorded function calls to the MoqReduced moq

func (*MoqReduced_ReallyUnusualParams_recorder) AndDo added in v0.28.0

func (*MoqReduced_ReallyUnusualParams_recorder) Any added in v0.28.0

func (*MoqReduced_ReallyUnusualParams_recorder) DoReturnResults added in v0.28.0

func (*MoqReduced_ReallyUnusualParams_recorder) NoSeq added in v0.28.0

func (*MoqReduced_ReallyUnusualParams_recorder) Repeat added in v0.28.0

func (*MoqReduced_ReallyUnusualParams_recorder) ReturnResults added in v0.28.0

func (*MoqReduced_ReallyUnusualParams_recorder) Seq added in v0.28.0

type MoqReduced_ReallyUnusualParams_results

type MoqReduced_ReallyUnusualParams_results struct{}

MoqReduced_ReallyUnusualParams_results holds the results of the Reduced type

type MoqReduced_ReallyUnusualResults_adaptor added in v0.28.0

type MoqReduced_ReallyUnusualResults_adaptor struct {
	Moq *MoqReduced
}

MoqReduced_ReallyUnusualResults_adaptor adapts MoqReduced as needed by the runtime

func (*MoqReduced_ReallyUnusualResults_adaptor) ParamsKey added in v0.28.0

func (*MoqReduced_ReallyUnusualResults_adaptor) PrettyParams added in v0.28.0

type MoqReduced_ReallyUnusualResults_anyParams

type MoqReduced_ReallyUnusualResults_anyParams struct {
	Recorder *MoqReduced_ReallyUnusualResults_recorder
}

MoqReduced_ReallyUnusualResults_anyParams isolates the any params functions of the Reduced type

type MoqReduced_ReallyUnusualResults_doFn

type MoqReduced_ReallyUnusualResults_doFn func()

MoqReduced_ReallyUnusualResults_doFn defines the type of function needed when calling AndDo for the Reduced type

type MoqReduced_ReallyUnusualResults_doReturnFn

type MoqReduced_ReallyUnusualResults_doReturnFn func() struct {
	// contains filtered or unexported fields
}

MoqReduced_ReallyUnusualResults_doReturnFn defines the type of function needed when calling DoReturnResults for the Reduced type

type MoqReduced_ReallyUnusualResults_paramIndexing added in v0.28.0

type MoqReduced_ReallyUnusualResults_paramIndexing struct{}

MoqReduced_ReallyUnusualResults_paramIndexing holds the parameter indexing runtime configuration for the Reduced type

type MoqReduced_ReallyUnusualResults_params

type MoqReduced_ReallyUnusualResults_params struct{}

MoqReduced_ReallyUnusualResults_params holds the params of the Reduced type

type MoqReduced_ReallyUnusualResults_paramsKey

type MoqReduced_ReallyUnusualResults_paramsKey struct {
	Params struct{}
	Hashes struct{}
}

MoqReduced_ReallyUnusualResults_paramsKey holds the map key params of the Reduced type

type MoqReduced_ReallyUnusualResults_recorder added in v0.28.0

MoqReduced_ReallyUnusualResults_recorder routes recorded function calls to the MoqReduced moq

func (*MoqReduced_ReallyUnusualResults_recorder) AndDo added in v0.28.0

func (*MoqReduced_ReallyUnusualResults_recorder) Any added in v0.28.0

func (*MoqReduced_ReallyUnusualResults_recorder) DoReturnResults added in v0.28.0

func (*MoqReduced_ReallyUnusualResults_recorder) NoSeq added in v0.28.0

func (*MoqReduced_ReallyUnusualResults_recorder) Repeat added in v0.28.0

func (*MoqReduced_ReallyUnusualResults_recorder) ReturnResults added in v0.28.0

func (*MoqReduced_ReallyUnusualResults_recorder) Seq added in v0.28.0

type MoqReduced_ReallyUnusualResults_results

type MoqReduced_ReallyUnusualResults_results struct {
	Result1 struct {
		// contains filtered or unexported fields
	}
}

MoqReduced_ReallyUnusualResults_results holds the results of the Reduced type

type MoqReduced_Usual_adaptor added in v0.28.0

type MoqReduced_Usual_adaptor struct {
	Moq *MoqReduced
}

MoqReduced_Usual_adaptor adapts MoqReduced as needed by the runtime

func (*MoqReduced_Usual_adaptor) ParamsKey added in v0.28.0

func (*MoqReduced_Usual_adaptor) PrettyParams added in v0.28.0

type MoqReduced_Usual_anyParams

type MoqReduced_Usual_anyParams struct {
	Recorder *MoqReduced_Usual_recorder
}

MoqReduced_Usual_anyParams isolates the any params functions of the Reduced type

func (*MoqReduced_Usual_anyParams) BParam

func (*MoqReduced_Usual_anyParams) SParam

type MoqReduced_Usual_doFn

type MoqReduced_Usual_doFn func(sParam string, bParam bool)

MoqReduced_Usual_doFn defines the type of function needed when calling AndDo for the Reduced type

type MoqReduced_Usual_doReturnFn

type MoqReduced_Usual_doReturnFn func(sParam string, bParam bool) (sResult string, err error)

MoqReduced_Usual_doReturnFn defines the type of function needed when calling DoReturnResults for the Reduced type

type MoqReduced_Usual_paramIndexing added in v0.28.0

type MoqReduced_Usual_paramIndexing struct {
	SParam moq.ParamIndexing
	BParam moq.ParamIndexing
}

MoqReduced_Usual_paramIndexing holds the parameter indexing runtime configuration for the Reduced type

type MoqReduced_Usual_params

type MoqReduced_Usual_params struct {
	SParam string
	BParam bool
}

MoqReduced_Usual_params holds the params of the Reduced type

type MoqReduced_Usual_paramsKey

type MoqReduced_Usual_paramsKey struct {
	Params struct {
		SParam string
		BParam bool
	}
	Hashes struct {
		SParam hash.Hash
		BParam hash.Hash
	}
}

MoqReduced_Usual_paramsKey holds the map key params of the Reduced type

type MoqReduced_Usual_recorder added in v0.28.0

MoqReduced_Usual_recorder routes recorded function calls to the MoqReduced moq

func (*MoqReduced_Usual_recorder) AndDo added in v0.28.0

func (*MoqReduced_Usual_recorder) Any added in v0.28.0

func (*MoqReduced_Usual_recorder) DoReturnResults added in v0.28.0

func (*MoqReduced_Usual_recorder) NoSeq added in v0.28.0

func (*MoqReduced_Usual_recorder) Repeat added in v0.28.0

func (*MoqReduced_Usual_recorder) ReturnResults added in v0.28.0

func (r *MoqReduced_Usual_recorder) ReturnResults(sResult string, err error) *MoqReduced_Usual_recorder

func (*MoqReduced_Usual_recorder) Seq added in v0.28.0

type MoqReduced_Usual_results

type MoqReduced_Usual_results struct {
	SResult string
	Err     error
}

MoqReduced_Usual_results holds the results of the Reduced type

type MoqReduced_mock

type MoqReduced_mock struct {
	Moq *MoqReduced
}

MoqReduced_mock isolates the mock interface of the Reduced type

func (*MoqReduced_mock) ReallyUnusualParams

func (m *MoqReduced_mock) ReallyUnusualParams(param1 struct{ a string })

func (*MoqReduced_mock) ReallyUnusualResults

func (m *MoqReduced_mock) ReallyUnusualResults() struct{ a string }

func (*MoqReduced_mock) Usual

func (m *MoqReduced_mock) Usual(sParam string, bParam bool) (string, error)

type MoqReduced_recorder

type MoqReduced_recorder struct {
	Moq *MoqReduced
}

MoqReduced_recorder isolates the recorder interface of the Reduced type

func (*MoqReduced_recorder) ReallyUnusualParams

func (m *MoqReduced_recorder) ReallyUnusualParams(param1 struct{ a string }) *MoqReduced_ReallyUnusualParams_recorder

func (*MoqReduced_recorder) ReallyUnusualResults

func (*MoqReduced_recorder) Usual

func (m *MoqReduced_recorder) Usual(sParam string, bParam bool) *MoqReduced_Usual_recorder

type MoqReduced_runtime added in v0.28.0

type MoqReduced_runtime struct {
	ParameterIndexing struct {
		Usual                MoqReduced_Usual_paramIndexing
		ReallyUnusualParams  MoqReduced_ReallyUnusualParams_paramIndexing
		ReallyUnusualResults MoqReduced_ReallyUnusualResults_paramIndexing
	}
}

MoqReduced_runtime holds runtime configuration for the Reduced type

type MoqStandaloneFunc_genType

MoqStandaloneFunc_genType holds the state of a moq of the StandaloneFunc_genType type

func NewMoqStandaloneFunc_genType

func NewMoqStandaloneFunc_genType(scene *moq.Scene, config *moq.Config) *MoqStandaloneFunc_genType

NewMoqStandaloneFunc_genType creates a new moq of the StandaloneFunc_genType type

func (*MoqStandaloneFunc_genType) AssertExpectationsMet

func (m *MoqStandaloneFunc_genType) AssertExpectationsMet()

AssertExpectationsMet asserts that all expectations have been met

func (*MoqStandaloneFunc_genType) Mock

Mock returns the moq implementation of the StandaloneFunc_genType type

func (*MoqStandaloneFunc_genType) OnCall

func (*MoqStandaloneFunc_genType) Reset

func (m *MoqStandaloneFunc_genType) Reset()

Reset resets the state of the moq

type MoqStandaloneFunc_genType_adaptor added in v0.28.0

type MoqStandaloneFunc_genType_adaptor struct {
	Moq *MoqStandaloneFunc_genType
}

MoqStandaloneFunc_genType_adaptor adapts MoqStandaloneFunc_genType as needed by the runtime

func (*MoqStandaloneFunc_genType_adaptor) ParamsKey added in v0.28.0

func (*MoqStandaloneFunc_genType_adaptor) PrettyParams added in v0.28.0

type MoqStandaloneFunc_genType_anyParams

type MoqStandaloneFunc_genType_anyParams struct {
	Recorder *MoqStandaloneFunc_genType_recorder
}

MoqStandaloneFunc_genType_anyParams isolates the any params functions of the StandaloneFunc_genType type

func (*MoqStandaloneFunc_genType_anyParams) BParam

func (*MoqStandaloneFunc_genType_anyParams) Param1

type MoqStandaloneFunc_genType_doFn

type MoqStandaloneFunc_genType_doFn func(_ string, bParam bool)

MoqStandaloneFunc_genType_doFn defines the type of function needed when calling AndDo for the StandaloneFunc_genType type

type MoqStandaloneFunc_genType_doReturnFn

type MoqStandaloneFunc_genType_doReturnFn func(_ string, bParam bool) (string, error)

MoqStandaloneFunc_genType_doReturnFn defines the type of function needed when calling DoReturnResults for the StandaloneFunc_genType type

type MoqStandaloneFunc_genType_paramIndexing added in v0.28.0

type MoqStandaloneFunc_genType_paramIndexing struct {
	Param1 moq.ParamIndexing
	BParam moq.ParamIndexing
}

MoqStandaloneFunc_genType_paramIndexing holds the parameter indexing runtime configuration for the StandaloneFunc_genType type

type MoqStandaloneFunc_genType_params

type MoqStandaloneFunc_genType_params struct {
	Param1 string
	BParam bool
}

MoqStandaloneFunc_genType_params holds the params of the StandaloneFunc_genType type

type MoqStandaloneFunc_genType_paramsKey

type MoqStandaloneFunc_genType_paramsKey struct {
	Params struct {
		Param1 string
		BParam bool
	}
	Hashes struct {
		Param1 hash.Hash
		BParam hash.Hash
	}
}

MoqStandaloneFunc_genType_paramsKey holds the map key params of the StandaloneFunc_genType type

type MoqStandaloneFunc_genType_recorder added in v0.28.0

MoqStandaloneFunc_genType_recorder routes recorded function calls to the MoqStandaloneFunc_genType moq

func (*MoqStandaloneFunc_genType_recorder) AndDo added in v0.28.0

func (*MoqStandaloneFunc_genType_recorder) Any added in v0.28.0

func (*MoqStandaloneFunc_genType_recorder) DoReturnResults added in v0.28.0

func (*MoqStandaloneFunc_genType_recorder) NoSeq added in v0.28.0

func (*MoqStandaloneFunc_genType_recorder) Repeat added in v0.28.0

func (*MoqStandaloneFunc_genType_recorder) ReturnResults added in v0.28.0

func (*MoqStandaloneFunc_genType_recorder) Seq added in v0.28.0

type MoqStandaloneFunc_genType_results

type MoqStandaloneFunc_genType_results struct {
	Result1 string
	Result2 error
}

MoqStandaloneFunc_genType_results holds the results of the StandaloneFunc_genType type

type MoqStandaloneFunc_genType_runtime added in v0.28.0

type MoqStandaloneFunc_genType_runtime struct {
	ParameterIndexing MoqStandaloneFunc_genType_paramIndexing
}

MoqStandaloneFunc_genType_runtime holds runtime configuration for the StandaloneFunc_genType type

type PassByRefSimple_genType

type PassByRefSimple_genType interface {
	Usual(string, bool) (string, error)
}

PassByRefSimple_genType is the fabricated implementation type of this mock (emitted when mocking a collections of methods directly and not from an interface type)

type PassByValueSimple_genType

type PassByValueSimple_genType interface {
	Usual(string, bool) (string, error)
}

PassByValueSimple_genType is the fabricated implementation type of this mock (emitted when mocking a collections of methods directly and not from an interface type)

type Reduced_reduced

type Reduced_reduced interface {
	Usual(sParam string, bParam bool) (sResult string, err error)
	ReallyUnusualParams(struct {
		// contains filtered or unexported fields
	})
	ReallyUnusualResults() struct {
		// contains filtered or unexported fields
	}
}

Reduced_reduced is the fabricated implementation type of this mock (emitted when the original interface contains non-exported methods)

type StandaloneFunc_genType

type StandaloneFunc_genType func(_ string, bParam bool) (string, error)

StandaloneFunc_genType is the fabricated implementation type of this mock (emitted when mocking functions directly and not from a function type)

Jump to

Keyboard shortcuts

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