mock

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMinerManageAPI

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

MockMinerManageAPI is a mock of MinerManageAPI interface.

func NewMockMinerManageAPI

func NewMockMinerManageAPI(ctrl *gomock.Controller) *MockMinerManageAPI

NewMockMinerManageAPI creates a new mock instance.

func (*MockMinerManageAPI) CloseMining

func (m *MockMinerManageAPI) CloseMining(arg0 context.Context, arg1 address.Address) error

CloseMining mocks base method.

func (*MockMinerManageAPI) EXPECT

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

func (*MockMinerManageAPI) Get

Get mocks base method.

func (*MockMinerManageAPI) Has

Has mocks base method.

func (*MockMinerManageAPI) IsOpenMining

func (m *MockMinerManageAPI) IsOpenMining(arg0 context.Context, arg1 address.Address) bool

IsOpenMining mocks base method.

func (*MockMinerManageAPI) List

List mocks base method.

func (*MockMinerManageAPI) OpenMining

func (m *MockMinerManageAPI) OpenMining(arg0 context.Context, arg1 address.Address) (*types.MinerInfo, error)

OpenMining mocks base method.

func (*MockMinerManageAPI) Update

func (m *MockMinerManageAPI) Update(arg0 context.Context, arg1, arg2 int64) (map[address.Address]*types.MinerInfo, error)

Update mocks base method.

type MockMinerManageAPIMockRecorder

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

MockMinerManageAPIMockRecorder is the mock recorder for MockMinerManageAPI.

func (*MockMinerManageAPIMockRecorder) CloseMining

func (mr *MockMinerManageAPIMockRecorder) CloseMining(arg0, arg1 interface{}) *gomock.Call

CloseMining indicates an expected call of CloseMining.

func (*MockMinerManageAPIMockRecorder) Get

func (mr *MockMinerManageAPIMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockMinerManageAPIMockRecorder) Has

func (mr *MockMinerManageAPIMockRecorder) Has(arg0, arg1 interface{}) *gomock.Call

Has indicates an expected call of Has.

func (*MockMinerManageAPIMockRecorder) IsOpenMining

func (mr *MockMinerManageAPIMockRecorder) IsOpenMining(arg0, arg1 interface{}) *gomock.Call

IsOpenMining indicates an expected call of IsOpenMining.

func (*MockMinerManageAPIMockRecorder) List

func (mr *MockMinerManageAPIMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockMinerManageAPIMockRecorder) OpenMining

func (mr *MockMinerManageAPIMockRecorder) OpenMining(arg0, arg1 interface{}) *gomock.Call

OpenMining indicates an expected call of OpenMining.

func (*MockMinerManageAPIMockRecorder) Update

func (mr *MockMinerManageAPIMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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