Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
Option is an autogenerated mock type for the Option type
func NewOption ¶
NewOption creates a new instance of Option. 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 (*Option) Apply ¶
func (_m *Option) Apply(config *pkgtelemetry.Telemetry)
Apply provides a mock function with given fields: config
func (*Option) EXPECT ¶
func (_m *Option) EXPECT() *Option_Expecter
type OptionFunc ¶
OptionFunc is an autogenerated mock type for the OptionFunc type
func NewOptionFunc ¶
func NewOptionFunc(t interface { mock.TestingT Cleanup(func()) }) *OptionFunc
NewOptionFunc creates a new instance of OptionFunc. 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 (*OptionFunc) EXPECT ¶
func (_m *OptionFunc) EXPECT() *OptionFunc_Expecter
func (*OptionFunc) Execute ¶
func (_m *OptionFunc) Execute(_a0 *pkgtelemetry.Telemetry)
Execute provides a mock function with given fields: _a0
type OptionFunc_Execute_Call ¶
OptionFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*OptionFunc_Execute_Call) Return ¶
func (_c *OptionFunc_Execute_Call) Return() *OptionFunc_Execute_Call
func (*OptionFunc_Execute_Call) Run ¶
func (_c *OptionFunc_Execute_Call) Run(run func(_a0 *pkgtelemetry.Telemetry)) *OptionFunc_Execute_Call
func (*OptionFunc_Execute_Call) RunAndReturn ¶
func (_c *OptionFunc_Execute_Call) RunAndReturn(run func(*pkgtelemetry.Telemetry)) *OptionFunc_Execute_Call
type OptionFunc_Expecter ¶
type OptionFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*OptionFunc_Expecter) Execute ¶
func (_e *OptionFunc_Expecter) Execute(_a0 interface{}) *OptionFunc_Execute_Call
Execute is a helper method to define mock.On call
- _a0 *pkgtelemetry.Telemetry
type Option_Apply_Call ¶
Option_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'
func (*Option_Apply_Call) Return ¶
func (_c *Option_Apply_Call) Return() *Option_Apply_Call
func (*Option_Apply_Call) Run ¶
func (_c *Option_Apply_Call) Run(run func(config *pkgtelemetry.Telemetry)) *Option_Apply_Call
func (*Option_Apply_Call) RunAndReturn ¶
func (_c *Option_Apply_Call) RunAndReturn(run func(*pkgtelemetry.Telemetry)) *Option_Apply_Call
type Option_Expecter ¶
type Option_Expecter struct {
// contains filtered or unexported fields
}
func (*Option_Expecter) Apply ¶
func (_e *Option_Expecter) Apply(config interface{}) *Option_Apply_Call
Apply is a helper method to define mock.On call
- config *pkgtelemetry.Telemetry