Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockEventWriter
- type MockEventWriterMockRecorder
- type MockTrackers
- func (m *MockTrackers) AddKeyNotifier(arg0 notifiers.KeyNotifier) error
- func (m *MockTrackers) AddPrefixNotifier(arg0 notifiers.PrefixNotifier) error
- func (m *MockTrackers) EXPECT() *MockTrackersMockRecorder
- func (m *MockTrackers) GetCurrentValue(key notifiers.Key) []byte
- func (m *MockTrackers) Purge(prefix string)
- func (m *MockTrackers) RemoveEvent(key notifiers.Key)
- func (m *MockTrackers) RemoveKeyNotifier(arg0 notifiers.KeyNotifier) error
- func (m *MockTrackers) RemovePrefixNotifier(arg0 notifiers.PrefixNotifier) error
- func (m *MockTrackers) Start() error
- func (m *MockTrackers) Stop() error
- func (m *MockTrackers) WriteEvent(key notifiers.Key, value []byte)
- type MockTrackersMockRecorder
- func (mr *MockTrackersMockRecorder) AddKeyNotifier(arg0 interface{}) *gomock.Call
- func (mr *MockTrackersMockRecorder) AddPrefixNotifier(arg0 interface{}) *gomock.Call
- func (mr *MockTrackersMockRecorder) GetCurrentValue(key interface{}) *gomock.Call
- func (mr *MockTrackersMockRecorder) Purge(prefix interface{}) *gomock.Call
- func (mr *MockTrackersMockRecorder) RemoveEvent(key interface{}) *gomock.Call
- func (mr *MockTrackersMockRecorder) RemoveKeyNotifier(arg0 interface{}) *gomock.Call
- func (mr *MockTrackersMockRecorder) RemovePrefixNotifier(arg0 interface{}) *gomock.Call
- func (mr *MockTrackersMockRecorder) Start() *gomock.Call
- func (mr *MockTrackersMockRecorder) Stop() *gomock.Call
- func (mr *MockTrackersMockRecorder) WriteEvent(key, value interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventWriter ¶ added in v0.13.0
type MockEventWriter struct {
// contains filtered or unexported fields
}
MockEventWriter is a mock of EventWriter interface.
func NewMockEventWriter ¶ added in v0.13.0
func NewMockEventWriter(ctrl *gomock.Controller) *MockEventWriter
NewMockEventWriter creates a new mock instance.
func (*MockEventWriter) EXPECT ¶ added in v0.13.0
func (m *MockEventWriter) EXPECT() *MockEventWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventWriter) Purge ¶ added in v0.13.0
func (m *MockEventWriter) Purge(prefix string)
Purge mocks base method.
func (*MockEventWriter) RemoveEvent ¶ added in v0.13.0
func (m *MockEventWriter) RemoveEvent(key notifiers.Key)
RemoveEvent mocks base method.
func (*MockEventWriter) WriteEvent ¶ added in v0.13.0
func (m *MockEventWriter) WriteEvent(key notifiers.Key, value []byte)
WriteEvent mocks base method.
type MockEventWriterMockRecorder ¶ added in v0.13.0
type MockEventWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockEventWriterMockRecorder is the mock recorder for MockEventWriter.
func (*MockEventWriterMockRecorder) Purge ¶ added in v0.13.0
func (mr *MockEventWriterMockRecorder) Purge(prefix interface{}) *gomock.Call
Purge indicates an expected call of Purge.
func (*MockEventWriterMockRecorder) RemoveEvent ¶ added in v0.13.0
func (mr *MockEventWriterMockRecorder) RemoveEvent(key interface{}) *gomock.Call
RemoveEvent indicates an expected call of RemoveEvent.
func (*MockEventWriterMockRecorder) WriteEvent ¶ added in v0.13.0
func (mr *MockEventWriterMockRecorder) WriteEvent(key, value interface{}) *gomock.Call
WriteEvent indicates an expected call of WriteEvent.
type MockTrackers ¶
type MockTrackers struct {
// contains filtered or unexported fields
}
MockTrackers is a mock of Trackers interface.
func NewMockTrackers ¶
func NewMockTrackers(ctrl *gomock.Controller) *MockTrackers
NewMockTrackers creates a new mock instance.
func (*MockTrackers) AddKeyNotifier ¶
func (m *MockTrackers) AddKeyNotifier(arg0 notifiers.KeyNotifier) error
AddKeyNotifier mocks base method.
func (*MockTrackers) AddPrefixNotifier ¶
func (m *MockTrackers) AddPrefixNotifier(arg0 notifiers.PrefixNotifier) error
AddPrefixNotifier mocks base method.
func (*MockTrackers) EXPECT ¶
func (m *MockTrackers) EXPECT() *MockTrackersMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTrackers) GetCurrentValue ¶
func (m *MockTrackers) GetCurrentValue(key notifiers.Key) []byte
GetCurrentValue mocks base method.
func (*MockTrackers) RemoveEvent ¶
func (m *MockTrackers) RemoveEvent(key notifiers.Key)
RemoveEvent mocks base method.
func (*MockTrackers) RemoveKeyNotifier ¶
func (m *MockTrackers) RemoveKeyNotifier(arg0 notifiers.KeyNotifier) error
RemoveKeyNotifier mocks base method.
func (*MockTrackers) RemovePrefixNotifier ¶
func (m *MockTrackers) RemovePrefixNotifier(arg0 notifiers.PrefixNotifier) error
RemovePrefixNotifier mocks base method.
func (*MockTrackers) WriteEvent ¶
func (m *MockTrackers) WriteEvent(key notifiers.Key, value []byte)
WriteEvent mocks base method.
type MockTrackersMockRecorder ¶
type MockTrackersMockRecorder struct {
// contains filtered or unexported fields
}
MockTrackersMockRecorder is the mock recorder for MockTrackers.
func (*MockTrackersMockRecorder) AddKeyNotifier ¶
func (mr *MockTrackersMockRecorder) AddKeyNotifier(arg0 interface{}) *gomock.Call
AddKeyNotifier indicates an expected call of AddKeyNotifier.
func (*MockTrackersMockRecorder) AddPrefixNotifier ¶
func (mr *MockTrackersMockRecorder) AddPrefixNotifier(arg0 interface{}) *gomock.Call
AddPrefixNotifier indicates an expected call of AddPrefixNotifier.
func (*MockTrackersMockRecorder) GetCurrentValue ¶
func (mr *MockTrackersMockRecorder) GetCurrentValue(key interface{}) *gomock.Call
GetCurrentValue indicates an expected call of GetCurrentValue.
func (*MockTrackersMockRecorder) Purge ¶
func (mr *MockTrackersMockRecorder) Purge(prefix interface{}) *gomock.Call
Purge indicates an expected call of Purge.
func (*MockTrackersMockRecorder) RemoveEvent ¶
func (mr *MockTrackersMockRecorder) RemoveEvent(key interface{}) *gomock.Call
RemoveEvent indicates an expected call of RemoveEvent.
func (*MockTrackersMockRecorder) RemoveKeyNotifier ¶
func (mr *MockTrackersMockRecorder) RemoveKeyNotifier(arg0 interface{}) *gomock.Call
RemoveKeyNotifier indicates an expected call of RemoveKeyNotifier.
func (*MockTrackersMockRecorder) RemovePrefixNotifier ¶
func (mr *MockTrackersMockRecorder) RemovePrefixNotifier(arg0 interface{}) *gomock.Call
RemovePrefixNotifier indicates an expected call of RemovePrefixNotifier.
func (*MockTrackersMockRecorder) Start ¶
func (mr *MockTrackersMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockTrackersMockRecorder) Stop ¶
func (mr *MockTrackersMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockTrackersMockRecorder) WriteEvent ¶
func (mr *MockTrackersMockRecorder) WriteEvent(key, value interface{}) *gomock.Call
WriteEvent indicates an expected call of WriteEvent.