mock_consensusclient

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_consensusclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

func (m *MockService) AddLog(arg0 context.Context, arg1 string, arg2 *consensusproto.RawRecordWithId) error

AddLog mocks base method.

func (*MockService) AddRecord

AddRecord mocks base method.

func (*MockService) Close

func (m *MockService) Close(arg0 context.Context) error

Close mocks base method.

func (*MockService) DeleteLog added in v0.3.0

func (m *MockService) DeleteLog(arg0 context.Context, arg1 string) error

DeleteLog 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) Init

func (m *MockService) Init(arg0 *app.App) error

Init mocks base method.

func (*MockService) Name

func (m *MockService) Name() string

Name mocks base method.

func (*MockService) Run

func (m *MockService) Run(arg0 context.Context) error

Run mocks base method.

func (*MockService) UnWatch

func (m *MockService) UnWatch(arg0 string) error

UnWatch mocks base method.

func (*MockService) Watch

func (m *MockService) Watch(arg0 string, arg1 consensusclient.Watcher) error

Watch mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) AddLog

func (mr *MockServiceMockRecorder) AddLog(arg0, arg1, arg2 any) *gomock.Call

AddLog indicates an expected call of AddLog.

func (*MockServiceMockRecorder) AddRecord

func (mr *MockServiceMockRecorder) AddRecord(arg0, arg1, arg2 any) *gomock.Call

AddRecord indicates an expected call of AddRecord.

func (*MockServiceMockRecorder) Close

func (mr *MockServiceMockRecorder) Close(arg0 any) *gomock.Call

Close indicates an expected call of Close.

func (*MockServiceMockRecorder) DeleteLog added in v0.3.0

func (mr *MockServiceMockRecorder) DeleteLog(arg0, arg1 any) *gomock.Call

DeleteLog indicates an expected call of DeleteLog.

func (*MockServiceMockRecorder) Init

func (mr *MockServiceMockRecorder) Init(arg0 any) *gomock.Call

Init indicates an expected call of Init.

func (*MockServiceMockRecorder) Name

func (mr *MockServiceMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockServiceMockRecorder) Run

func (mr *MockServiceMockRecorder) Run(arg0 any) *gomock.Call

Run indicates an expected call of Run.

func (*MockServiceMockRecorder) UnWatch

func (mr *MockServiceMockRecorder) UnWatch(arg0 any) *gomock.Call

UnWatch indicates an expected call of UnWatch.

func (*MockServiceMockRecorder) Watch

func (mr *MockServiceMockRecorder) Watch(arg0, arg1 any) *gomock.Call

Watch indicates an expected call of Watch.

Jump to

Keyboard shortcuts

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