Documentation ¶
Overview ¶
Package mock_event_tracker is a generated GoMock package.
Index ¶
- type MockEventTrackerInterface
- func (m *MockEventTrackerInterface) AccumulatedEvents() int64
- func (m *MockEventTrackerInterface) CloneEventData() *event_tracker.EventData
- func (m *MockEventTrackerInterface) EXPECT() *MockEventTrackerInterfaceMockRecorder
- func (m *MockEventTrackerInterface) GetEventSizeLimit() <-chan struct{}
- func (m *MockEventTrackerInterface) RegisterEvent(arg0 string) event_tracker.EventsInterface
- func (m *MockEventTrackerInterface) Subtract(arg0 *event_tracker.EventData)
- type MockEventTrackerInterfaceAccumulatedEventsCall
- func (c *MockEventTrackerInterfaceAccumulatedEventsCall) Do(f func() int64) *MockEventTrackerInterfaceAccumulatedEventsCall
- func (c *MockEventTrackerInterfaceAccumulatedEventsCall) DoAndReturn(f func() int64) *MockEventTrackerInterfaceAccumulatedEventsCall
- func (c *MockEventTrackerInterfaceAccumulatedEventsCall) Return(arg0 int64) *MockEventTrackerInterfaceAccumulatedEventsCall
- type MockEventTrackerInterfaceCloneEventDataCall
- func (c *MockEventTrackerInterfaceCloneEventDataCall) Do(f func() *event_tracker.EventData) *MockEventTrackerInterfaceCloneEventDataCall
- func (c *MockEventTrackerInterfaceCloneEventDataCall) DoAndReturn(f func() *event_tracker.EventData) *MockEventTrackerInterfaceCloneEventDataCall
- func (c *MockEventTrackerInterfaceCloneEventDataCall) Return(arg0 *event_tracker.EventData) *MockEventTrackerInterfaceCloneEventDataCall
- type MockEventTrackerInterfaceGetEventSizeLimitCall
- func (c *MockEventTrackerInterfaceGetEventSizeLimitCall) Do(f func() <-chan struct{}) *MockEventTrackerInterfaceGetEventSizeLimitCall
- func (c *MockEventTrackerInterfaceGetEventSizeLimitCall) DoAndReturn(f func() <-chan struct{}) *MockEventTrackerInterfaceGetEventSizeLimitCall
- func (c *MockEventTrackerInterfaceGetEventSizeLimitCall) Return(arg0 <-chan struct{}) *MockEventTrackerInterfaceGetEventSizeLimitCall
- type MockEventTrackerInterfaceMockRecorder
- func (mr *MockEventTrackerInterfaceMockRecorder) AccumulatedEvents() *MockEventTrackerInterfaceAccumulatedEventsCall
- func (mr *MockEventTrackerInterfaceMockRecorder) CloneEventData() *MockEventTrackerInterfaceCloneEventDataCall
- func (mr *MockEventTrackerInterfaceMockRecorder) GetEventSizeLimit() *MockEventTrackerInterfaceGetEventSizeLimitCall
- func (mr *MockEventTrackerInterfaceMockRecorder) RegisterEvent(arg0 any) *MockEventTrackerInterfaceRegisterEventCall
- func (mr *MockEventTrackerInterfaceMockRecorder) Subtract(arg0 any) *MockEventTrackerInterfaceSubtractCall
- type MockEventTrackerInterfaceRegisterEventCall
- func (c *MockEventTrackerInterfaceRegisterEventCall) Do(f func(string) event_tracker.EventsInterface) *MockEventTrackerInterfaceRegisterEventCall
- func (c *MockEventTrackerInterfaceRegisterEventCall) DoAndReturn(f func(string) event_tracker.EventsInterface) *MockEventTrackerInterfaceRegisterEventCall
- func (c *MockEventTrackerInterfaceRegisterEventCall) Return(arg0 event_tracker.EventsInterface) *MockEventTrackerInterfaceRegisterEventCall
- type MockEventTrackerInterfaceSubtractCall
- func (c *MockEventTrackerInterfaceSubtractCall) Do(f func(*event_tracker.EventData)) *MockEventTrackerInterfaceSubtractCall
- func (c *MockEventTrackerInterfaceSubtractCall) DoAndReturn(f func(*event_tracker.EventData)) *MockEventTrackerInterfaceSubtractCall
- func (c *MockEventTrackerInterfaceSubtractCall) Return() *MockEventTrackerInterfaceSubtractCall
- type MockEventsInterface
- type MockEventsInterfaceEmitEventCall
- type MockEventsInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventTrackerInterface ¶
type MockEventTrackerInterface struct {
// contains filtered or unexported fields
}
MockEventTrackerInterface is a mock of EventTrackerInterface interface.
func NewMockEventTrackerInterface ¶
func NewMockEventTrackerInterface(ctrl *gomock.Controller) *MockEventTrackerInterface
NewMockEventTrackerInterface creates a new mock instance.
func (*MockEventTrackerInterface) AccumulatedEvents ¶
func (m *MockEventTrackerInterface) AccumulatedEvents() int64
AccumulatedEvents mocks base method.
func (*MockEventTrackerInterface) CloneEventData ¶
func (m *MockEventTrackerInterface) CloneEventData() *event_tracker.EventData
CloneEventData mocks base method.
func (*MockEventTrackerInterface) EXPECT ¶
func (m *MockEventTrackerInterface) EXPECT() *MockEventTrackerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventTrackerInterface) GetEventSizeLimit ¶
func (m *MockEventTrackerInterface) GetEventSizeLimit() <-chan struct{}
GetEventSizeLimit mocks base method.
func (*MockEventTrackerInterface) RegisterEvent ¶
func (m *MockEventTrackerInterface) RegisterEvent(arg0 string) event_tracker.EventsInterface
RegisterEvent mocks base method.
func (*MockEventTrackerInterface) Subtract ¶
func (m *MockEventTrackerInterface) Subtract(arg0 *event_tracker.EventData)
Subtract mocks base method.
type MockEventTrackerInterfaceAccumulatedEventsCall ¶
MockEventTrackerInterfaceAccumulatedEventsCall wrap *gomock.Call
func (*MockEventTrackerInterfaceAccumulatedEventsCall) Do ¶
func (c *MockEventTrackerInterfaceAccumulatedEventsCall) Do(f func() int64) *MockEventTrackerInterfaceAccumulatedEventsCall
Do rewrite *gomock.Call.Do
func (*MockEventTrackerInterfaceAccumulatedEventsCall) DoAndReturn ¶
func (c *MockEventTrackerInterfaceAccumulatedEventsCall) DoAndReturn(f func() int64) *MockEventTrackerInterfaceAccumulatedEventsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockEventTrackerInterfaceAccumulatedEventsCall) Return ¶
func (c *MockEventTrackerInterfaceAccumulatedEventsCall) Return(arg0 int64) *MockEventTrackerInterfaceAccumulatedEventsCall
Return rewrite *gomock.Call.Return
type MockEventTrackerInterfaceCloneEventDataCall ¶
MockEventTrackerInterfaceCloneEventDataCall wrap *gomock.Call
func (*MockEventTrackerInterfaceCloneEventDataCall) Do ¶
func (c *MockEventTrackerInterfaceCloneEventDataCall) Do(f func() *event_tracker.EventData) *MockEventTrackerInterfaceCloneEventDataCall
Do rewrite *gomock.Call.Do
func (*MockEventTrackerInterfaceCloneEventDataCall) DoAndReturn ¶
func (c *MockEventTrackerInterfaceCloneEventDataCall) DoAndReturn(f func() *event_tracker.EventData) *MockEventTrackerInterfaceCloneEventDataCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockEventTrackerInterfaceCloneEventDataCall) Return ¶
func (c *MockEventTrackerInterfaceCloneEventDataCall) Return(arg0 *event_tracker.EventData) *MockEventTrackerInterfaceCloneEventDataCall
Return rewrite *gomock.Call.Return
type MockEventTrackerInterfaceGetEventSizeLimitCall ¶
MockEventTrackerInterfaceGetEventSizeLimitCall wrap *gomock.Call
func (*MockEventTrackerInterfaceGetEventSizeLimitCall) Do ¶
func (c *MockEventTrackerInterfaceGetEventSizeLimitCall) Do(f func() <-chan struct{}) *MockEventTrackerInterfaceGetEventSizeLimitCall
Do rewrite *gomock.Call.Do
func (*MockEventTrackerInterfaceGetEventSizeLimitCall) DoAndReturn ¶
func (c *MockEventTrackerInterfaceGetEventSizeLimitCall) DoAndReturn(f func() <-chan struct{}) *MockEventTrackerInterfaceGetEventSizeLimitCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockEventTrackerInterfaceGetEventSizeLimitCall) Return ¶
func (c *MockEventTrackerInterfaceGetEventSizeLimitCall) Return(arg0 <-chan struct{}) *MockEventTrackerInterfaceGetEventSizeLimitCall
Return rewrite *gomock.Call.Return
type MockEventTrackerInterfaceMockRecorder ¶
type MockEventTrackerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockEventTrackerInterfaceMockRecorder is the mock recorder for MockEventTrackerInterface.
func (*MockEventTrackerInterfaceMockRecorder) AccumulatedEvents ¶
func (mr *MockEventTrackerInterfaceMockRecorder) AccumulatedEvents() *MockEventTrackerInterfaceAccumulatedEventsCall
AccumulatedEvents indicates an expected call of AccumulatedEvents.
func (*MockEventTrackerInterfaceMockRecorder) CloneEventData ¶
func (mr *MockEventTrackerInterfaceMockRecorder) CloneEventData() *MockEventTrackerInterfaceCloneEventDataCall
CloneEventData indicates an expected call of CloneEventData.
func (*MockEventTrackerInterfaceMockRecorder) GetEventSizeLimit ¶
func (mr *MockEventTrackerInterfaceMockRecorder) GetEventSizeLimit() *MockEventTrackerInterfaceGetEventSizeLimitCall
GetEventSizeLimit indicates an expected call of GetEventSizeLimit.
func (*MockEventTrackerInterfaceMockRecorder) RegisterEvent ¶
func (mr *MockEventTrackerInterfaceMockRecorder) RegisterEvent(arg0 any) *MockEventTrackerInterfaceRegisterEventCall
RegisterEvent indicates an expected call of RegisterEvent.
func (*MockEventTrackerInterfaceMockRecorder) Subtract ¶
func (mr *MockEventTrackerInterfaceMockRecorder) Subtract(arg0 any) *MockEventTrackerInterfaceSubtractCall
Subtract indicates an expected call of Subtract.
type MockEventTrackerInterfaceRegisterEventCall ¶
MockEventTrackerInterfaceRegisterEventCall wrap *gomock.Call
func (*MockEventTrackerInterfaceRegisterEventCall) Do ¶
func (c *MockEventTrackerInterfaceRegisterEventCall) Do(f func(string) event_tracker.EventsInterface) *MockEventTrackerInterfaceRegisterEventCall
Do rewrite *gomock.Call.Do
func (*MockEventTrackerInterfaceRegisterEventCall) DoAndReturn ¶
func (c *MockEventTrackerInterfaceRegisterEventCall) DoAndReturn(f func(string) event_tracker.EventsInterface) *MockEventTrackerInterfaceRegisterEventCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockEventTrackerInterfaceRegisterEventCall) Return ¶
func (c *MockEventTrackerInterfaceRegisterEventCall) Return(arg0 event_tracker.EventsInterface) *MockEventTrackerInterfaceRegisterEventCall
Return rewrite *gomock.Call.Return
type MockEventTrackerInterfaceSubtractCall ¶
MockEventTrackerInterfaceSubtractCall wrap *gomock.Call
func (*MockEventTrackerInterfaceSubtractCall) Do ¶
func (c *MockEventTrackerInterfaceSubtractCall) Do(f func(*event_tracker.EventData)) *MockEventTrackerInterfaceSubtractCall
Do rewrite *gomock.Call.Do
func (*MockEventTrackerInterfaceSubtractCall) DoAndReturn ¶
func (c *MockEventTrackerInterfaceSubtractCall) DoAndReturn(f func(*event_tracker.EventData)) *MockEventTrackerInterfaceSubtractCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockEventTrackerInterfaceSubtractCall) Return ¶
func (c *MockEventTrackerInterfaceSubtractCall) Return() *MockEventTrackerInterfaceSubtractCall
Return rewrite *gomock.Call.Return
type MockEventsInterface ¶
type MockEventsInterface struct {
// contains filtered or unexported fields
}
MockEventsInterface is a mock of EventsInterface interface.
func NewMockEventsInterface ¶
func NewMockEventsInterface(ctrl *gomock.Controller) *MockEventsInterface
NewMockEventsInterface creates a new mock instance.
func (*MockEventsInterface) EXPECT ¶
func (m *MockEventsInterface) EXPECT() *MockEventsInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventsInterface) EmitEvent ¶
func (m *MockEventsInterface) EmitEvent(arg0, arg1 int64)
EmitEvent mocks base method.
type MockEventsInterfaceEmitEventCall ¶
MockEventsInterfaceEmitEventCall wrap *gomock.Call
func (*MockEventsInterfaceEmitEventCall) Do ¶
func (c *MockEventsInterfaceEmitEventCall) Do(f func(int64, int64)) *MockEventsInterfaceEmitEventCall
Do rewrite *gomock.Call.Do
func (*MockEventsInterfaceEmitEventCall) DoAndReturn ¶
func (c *MockEventsInterfaceEmitEventCall) DoAndReturn(f func(int64, int64)) *MockEventsInterfaceEmitEventCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockEventsInterfaceEmitEventCall) Return ¶
func (c *MockEventsInterfaceEmitEventCall) Return() *MockEventsInterfaceEmitEventCall
Return rewrite *gomock.Call.Return
type MockEventsInterfaceMockRecorder ¶
type MockEventsInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockEventsInterfaceMockRecorder is the mock recorder for MockEventsInterface.
func (*MockEventsInterfaceMockRecorder) EmitEvent ¶
func (mr *MockEventsInterfaceMockRecorder) EmitEvent(arg0, arg1 any) *MockEventsInterfaceEmitEventCall
EmitEvent indicates an expected call of EmitEvent.