mocks

package
v0.78.0-preview.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: AGPL-3.0 Imports: 4 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 MockStatsService

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

MockStatsService is a mock of StatsService interface.

func NewMockStatsService

func NewMockStatsService(ctrl *gomock.Controller) *MockStatsService

NewMockStatsService creates a new mock instance.

func (*MockStatsService) EXPECT

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

func (*MockStatsService) SetHeight

func (m *MockStatsService) SetHeight(arg0 uint64)

SetHeight mocks base method.

type MockStatsServiceMockRecorder

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

MockStatsServiceMockRecorder is the mock recorder for MockStatsService.

func (*MockStatsServiceMockRecorder) SetHeight

func (mr *MockStatsServiceMockRecorder) SetHeight(arg0 interface{}) *gomock.Call

SetHeight indicates an expected call of SetHeight.

type MockTimeService

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

MockTimeService is a mock of TimeService interface.

func NewMockTimeService

func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService

NewMockTimeService creates a new mock instance.

func (*MockTimeService) EXPECT

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

func (*MockTimeService) GetTimeLastBatch added in v0.77.0

func (m *MockTimeService) GetTimeLastBatch() time.Time

GetTimeLastBatch mocks base method.

func (*MockTimeService) GetTimeNow

func (m *MockTimeService) GetTimeNow() time.Time

GetTimeNow mocks base method.

func (*MockTimeService) SetPrevTime added in v0.77.0

func (m *MockTimeService) SetPrevTime(arg0 time.Time)

SetPrevTime mocks base method.

func (*MockTimeService) SetTimeNow

func (m *MockTimeService) SetTimeNow(arg0 context.Context, arg1 time.Time)

SetTimeNow mocks base method.

type MockTimeServiceMockRecorder

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

MockTimeServiceMockRecorder is the mock recorder for MockTimeService.

func (*MockTimeServiceMockRecorder) GetTimeLastBatch added in v0.77.0

func (mr *MockTimeServiceMockRecorder) GetTimeLastBatch() *gomock.Call

GetTimeLastBatch indicates an expected call of GetTimeLastBatch.

func (*MockTimeServiceMockRecorder) GetTimeNow

func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call

GetTimeNow indicates an expected call of GetTimeNow.

func (*MockTimeServiceMockRecorder) SetPrevTime added in v0.77.0

func (mr *MockTimeServiceMockRecorder) SetPrevTime(arg0 interface{}) *gomock.Call

SetPrevTime indicates an expected call of SetPrevTime.

func (*MockTimeServiceMockRecorder) SetTimeNow

func (mr *MockTimeServiceMockRecorder) SetTimeNow(arg0, arg1 interface{}) *gomock.Call

SetTimeNow indicates an expected call of SetTimeNow.

Jump to

Keyboard shortcuts

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