Documentation ¶
Overview ¶
Package mock_plugin is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) Accounts(arg0 context.Context) []accounts.Account
- func (m *MockService) Close(arg0 context.Context) error
- func (m *MockService) Contains(arg0 context.Context, arg1 accounts.Account) bool
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) ImportRawKey(arg0 context.Context, arg1 string, arg2 interface{}) (accounts.Account, error)
- func (m *MockService) Lock(arg0 context.Context, arg1 accounts.Account) error
- func (m *MockService) NewAccount(arg0 context.Context, arg1 interface{}) (accounts.Account, error)
- func (m *MockService) Open(arg0 context.Context, arg1 string) error
- func (m *MockService) Sign(arg0 context.Context, arg1 accounts.Account, arg2 []byte) ([]byte, error)
- func (m *MockService) Status(arg0 context.Context) (string, error)
- func (m *MockService) TimedUnlock(arg0 context.Context, arg1 accounts.Account, arg2 string, arg3 time.Duration) error
- func (m *MockService) UnlockAndSign(arg0 context.Context, arg1 accounts.Account, arg2 []byte, arg3 string) ([]byte, error)
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Accounts(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Close(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Contains(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) ImportRawKey(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Lock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) NewAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Sign(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Status(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) TimedUnlock(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) UnlockAndSign(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
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) 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) NewAccount ¶
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
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