Documentation ¶
Index ¶
- type NewRelic
- type NewRelic_Expecter
- type NewRelic_StartGenericSegment_Call
- func (_c *NewRelic_StartGenericSegment_Call) Return(_a0 func()) *NewRelic_StartGenericSegment_Call
- func (_c *NewRelic_StartGenericSegment_Call) Run(run func(_a0 context.Context, _a1 string)) *NewRelic_StartGenericSegment_Call
- func (_c *NewRelic_StartGenericSegment_Call) RunAndReturn(run func(context.Context, string) func()) *NewRelic_StartGenericSegment_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewRelic ¶
NewRelic is an autogenerated mock type for the Service type
func NewNewRelic ¶
NewNewRelic creates a new instance of NewRelic. 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 (*NewRelic) EXPECT ¶
func (_m *NewRelic) EXPECT() *NewRelic_Expecter
type NewRelic_Expecter ¶
type NewRelic_Expecter struct {
// contains filtered or unexported fields
}
func (*NewRelic_Expecter) StartGenericSegment ¶
func (_e *NewRelic_Expecter) StartGenericSegment(_a0 interface{}, _a1 interface{}) *NewRelic_StartGenericSegment_Call
StartGenericSegment is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
type NewRelic_StartGenericSegment_Call ¶
NewRelic_StartGenericSegment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartGenericSegment'
func (*NewRelic_StartGenericSegment_Call) Return ¶
func (_c *NewRelic_StartGenericSegment_Call) Return(_a0 func()) *NewRelic_StartGenericSegment_Call
func (*NewRelic_StartGenericSegment_Call) Run ¶
func (_c *NewRelic_StartGenericSegment_Call) Run(run func(_a0 context.Context, _a1 string)) *NewRelic_StartGenericSegment_Call
func (*NewRelic_StartGenericSegment_Call) RunAndReturn ¶
func (_c *NewRelic_StartGenericSegment_Call) RunAndReturn(run func(context.Context, string) func()) *NewRelic_StartGenericSegment_Call
Click to show internal directories.
Click to hide internal directories.