mocks

package
v2.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEventWriter

type MockEventWriter struct {
	// contains filtered or unexported fields
}

MockEventWriter is a mock of EventWriter interface.

func NewMockEventWriter

func NewMockEventWriter(ctrl *gomock.Controller) *MockEventWriter

NewMockEventWriter creates a new mock instance.

func (*MockEventWriter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEventWriter) Purge

func (m *MockEventWriter) Purge(prefix string)

Purge mocks base method.

func (*MockEventWriter) RemoveEvent

func (m *MockEventWriter) RemoveEvent(key notifiers.Key)

RemoveEvent mocks base method.

func (*MockEventWriter) UpdateValue

func (m *MockEventWriter) UpdateValue(key notifiers.Key, updateFunc notifiers.UpdateValueFunc)

UpdateValue mocks base method.

func (*MockEventWriter) WriteEvent

func (m *MockEventWriter) WriteEvent(key notifiers.Key, value []byte)

WriteEvent mocks base method.

type MockEventWriterMockRecorder

type MockEventWriterMockRecorder struct {
	// contains filtered or unexported fields
}

MockEventWriterMockRecorder is the mock recorder for MockEventWriter.

func (*MockEventWriterMockRecorder) Purge

func (mr *MockEventWriterMockRecorder) Purge(prefix interface{}) *gomock.Call

Purge indicates an expected call of Purge.

func (*MockEventWriterMockRecorder) RemoveEvent

func (mr *MockEventWriterMockRecorder) RemoveEvent(key interface{}) *gomock.Call

RemoveEvent indicates an expected call of RemoveEvent.

func (*MockEventWriterMockRecorder) UpdateValue

func (mr *MockEventWriterMockRecorder) UpdateValue(key, updateFunc interface{}) *gomock.Call

UpdateValue indicates an expected call of UpdateValue.

func (*MockEventWriterMockRecorder) WriteEvent

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTrackers) Purge

func (m *MockTrackers) Purge(prefix string)

Purge 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) Start

func (m *MockTrackers) Start() error

Start mocks base method.

func (*MockTrackers) Stop

func (m *MockTrackers) Stop() error

Stop mocks base method.

func (*MockTrackers) UpdateValue

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL