mock_plugin

package
v20.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_plugin 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) Accounts

func (m *MockService) Accounts(arg0 context.Context) []accounts.Account

Accounts mocks base method

func (*MockService) Close

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

Close mocks base method

func (*MockService) Contains

func (m *MockService) Contains(arg0 context.Context, arg1 accounts.Account) bool

Contains 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) ImportRawKey

func (m *MockService) ImportRawKey(arg0 context.Context, arg1 string, arg2 interface{}) (accounts.Account, error)

ImportRawKey mocks base method

func (*MockService) Lock

func (m *MockService) Lock(arg0 context.Context, arg1 accounts.Account) error

Lock mocks base method

func (*MockService) NewAccount

func (m *MockService) NewAccount(arg0 context.Context, arg1 interface{}) (accounts.Account, error)

NewAccount mocks base method

func (*MockService) Open

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

Open mocks base method

func (*MockService) Sign

func (m *MockService) Sign(arg0 context.Context, arg1 accounts.Account, arg2 []byte) ([]byte, error)

Sign mocks base method

func (*MockService) Status

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

Status mocks base method

func (*MockService) TimedUnlock

func (m *MockService) TimedUnlock(arg0 context.Context, arg1 accounts.Account, arg2 string, arg3 time.Duration) error

TimedUnlock mocks base method

func (*MockService) UnlockAndSign

func (m *MockService) UnlockAndSign(arg0 context.Context, arg1 accounts.Account, arg2 []byte, arg3 string) ([]byte, error)

UnlockAndSign mocks base method

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) Accounts

func (mr *MockServiceMockRecorder) Accounts(arg0 interface{}) *gomock.Call

Accounts indicates an expected call of Accounts

func (*MockServiceMockRecorder) Close

func (mr *MockServiceMockRecorder) Close(arg0 interface{}) *gomock.Call

Close indicates an expected call of Close

func (*MockServiceMockRecorder) Contains

func (mr *MockServiceMockRecorder) Contains(arg0, arg1 interface{}) *gomock.Call

Contains indicates an expected call of Contains

func (*MockServiceMockRecorder) ImportRawKey

func (mr *MockServiceMockRecorder) ImportRawKey(arg0, arg1, arg2 interface{}) *gomock.Call

ImportRawKey indicates an expected call of ImportRawKey

func (*MockServiceMockRecorder) Lock

func (mr *MockServiceMockRecorder) Lock(arg0, arg1 interface{}) *gomock.Call

Lock indicates an expected call of Lock

func (*MockServiceMockRecorder) NewAccount

func (mr *MockServiceMockRecorder) NewAccount(arg0, arg1 interface{}) *gomock.Call

NewAccount indicates an expected call of NewAccount

func (*MockServiceMockRecorder) Open

func (mr *MockServiceMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call

Open indicates an expected call of Open

func (*MockServiceMockRecorder) Sign

func (mr *MockServiceMockRecorder) Sign(arg0, arg1, arg2 interface{}) *gomock.Call

Sign indicates an expected call of Sign

func (*MockServiceMockRecorder) Status

func (mr *MockServiceMockRecorder) Status(arg0 interface{}) *gomock.Call

Status indicates an expected call of Status

func (*MockServiceMockRecorder) TimedUnlock

func (mr *MockServiceMockRecorder) TimedUnlock(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

TimedUnlock indicates an expected call of TimedUnlock

func (*MockServiceMockRecorder) UnlockAndSign

func (mr *MockServiceMockRecorder) UnlockAndSign(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UnlockAndSign indicates an expected call of UnlockAndSign

Jump to

Keyboard shortcuts

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