mocktracker

package
v0.0.0-...-b0a49f2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocktracker is a generated GoMock package.

Package mocktracker is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProxy

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

MockProxy is a mock of Proxy interface.

func NewMockProxy

func NewMockProxy(ctrl *gomock.Controller) *MockProxy

NewMockProxy creates a new mock instance.

func (*MockProxy) EXPECT

func (m *MockProxy) EXPECT() *MockProxyMockRecorder

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

func (*MockProxy) NewClient

func (m *MockProxy) NewClient(ctx context.Context, addr string) (tracker.Service, error)

NewClient mocks base method.

type MockProxyMockRecorder

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

MockProxyMockRecorder is the mock recorder for MockProxy.

func (*MockProxyMockRecorder) NewClient

func (mr *MockProxyMockRecorder) NewClient(ctx, addr interface{}) *gomock.Call

NewClient indicates an expected call of NewClient.

type MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) Add

func (m *MockService) Add(ctx context.Context, object tracker.GeoJSON) ([]h3.H3Index, error)

Add mocks base method.

func (*MockService) Detect

func (m *MockService) Detect(ctx context.Context) ([]tracker.Event, bool, error)

Detect mocks base method.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) Remove

func (m *MockService) Remove(ctx context.Context, objectID uint64, index []h3.H3Index) error

Remove mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) Add

func (mr *MockServiceMockRecorder) Add(ctx, object interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockServiceMockRecorder) Detect

func (mr *MockServiceMockRecorder) Detect(ctx interface{}) *gomock.Call

Detect indicates an expected call of Detect.

func (*MockServiceMockRecorder) Remove

func (mr *MockServiceMockRecorder) Remove(ctx, objectID, index interface{}) *gomock.Call

Remove indicates an expected call of Remove.

Jump to

Keyboard shortcuts

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