mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: AGPL-3.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 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) GetCurrentValue

func (m *MockTrackers) GetCurrentValue(key notifiers.Key) []byte

GetCurrentValue mocks base method.

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) 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.

Jump to

Keyboard shortcuts

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