Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockEventWriter
- func (m *MockEventWriter) EXPECT() *MockEventWriterMockRecorder
- func (m *MockEventWriter) Purge(prefix string)
- func (m *MockEventWriter) RemoveEvent(key notifiers.Key)
- func (m *MockEventWriter) UpdateValue(key notifiers.Key, updateFunc notifiers.UpdateValueFunc)
- func (m *MockEventWriter) WriteEvent(key notifiers.Key, value []byte)
- type MockEventWriterMockRecorder
- func (mr *MockEventWriterMockRecorder) Purge(prefix interface{}) *gomock.Call
- func (mr *MockEventWriterMockRecorder) RemoveEvent(key interface{}) *gomock.Call
- func (mr *MockEventWriterMockRecorder) UpdateValue(key, updateFunc interface{}) *gomock.Call
- func (mr *MockEventWriterMockRecorder) WriteEvent(key, value interface{}) *gomock.Call
- 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) 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) UpdateValue(key notifiers.Key, updateFunc notifiers.UpdateValueFunc)
- 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) 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) UpdateValue(key, updateFunc interface{}) *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) UpdateValue ¶ added in v0.27.0
func (m *MockEventWriter) UpdateValue(key notifiers.Key, updateFunc notifiers.UpdateValueFunc)
UpdateValue 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) UpdateValue ¶ added in v0.27.0
func (mr *MockEventWriterMockRecorder) UpdateValue(key, updateFunc interface{}) *gomock.Call
UpdateValue indicates an expected call of UpdateValue.
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) 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) UpdateValue ¶ added in v0.27.0
func (m *MockTrackers) UpdateValue(key notifiers.Key, updateFunc notifiers.UpdateValueFunc)
UpdateValue 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) 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) UpdateValue ¶ added in v0.27.0
func (mr *MockTrackersMockRecorder) UpdateValue(key, updateFunc interface{}) *gomock.Call
UpdateValue indicates an expected call of UpdateValue.
func (*MockTrackersMockRecorder) WriteEvent ¶
func (mr *MockTrackersMockRecorder) WriteEvent(key, value interface{}) *gomock.Call
WriteEvent indicates an expected call of WriteEvent.