mocks

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: MIT Imports: 7 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 MockNetworkStore added in v0.55.0

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

MockNetworkStore is a mock of NetworkStore interface.

func NewMockNetworkStore added in v0.55.0

func NewMockNetworkStore(ctrl *gomock.Controller) *MockNetworkStore

NewMockNetworkStore creates a new mock instance.

func (*MockNetworkStore) DeleteNetwork added in v0.55.0

func (m *MockNetworkStore) DeleteNetwork(arg0 string) error

DeleteNetwork mocks base method.

func (*MockNetworkStore) EXPECT added in v0.55.0

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

func (*MockNetworkStore) GetNetwork added in v0.55.0

func (m *MockNetworkStore) GetNetwork(arg0 string) (*network.Network, error)

GetNetwork mocks base method.

func (*MockNetworkStore) GetNetworkPath added in v0.55.0

func (m *MockNetworkStore) GetNetworkPath(arg0 string) string

GetNetworkPath mocks base method.

func (*MockNetworkStore) ListNetworks added in v0.55.0

func (m *MockNetworkStore) ListNetworks() ([]string, error)

ListNetworks mocks base method.

func (*MockNetworkStore) NetworkExists added in v0.55.0

func (m *MockNetworkStore) NetworkExists(arg0 string) (bool, error)

NetworkExists mocks base method.

func (*MockNetworkStore) SaveNetwork added in v0.55.0

func (m *MockNetworkStore) SaveNetwork(arg0 *network.Network) error

SaveNetwork mocks base method.

type MockNetworkStoreMockRecorder added in v0.55.0

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

MockNetworkStoreMockRecorder is the mock recorder for MockNetworkStore.

func (*MockNetworkStoreMockRecorder) DeleteNetwork added in v0.55.0

func (mr *MockNetworkStoreMockRecorder) DeleteNetwork(arg0 interface{}) *gomock.Call

DeleteNetwork indicates an expected call of DeleteNetwork.

func (*MockNetworkStoreMockRecorder) GetNetwork added in v0.55.0

func (mr *MockNetworkStoreMockRecorder) GetNetwork(arg0 interface{}) *gomock.Call

GetNetwork indicates an expected call of GetNetwork.

func (*MockNetworkStoreMockRecorder) GetNetworkPath added in v0.55.0

func (mr *MockNetworkStoreMockRecorder) GetNetworkPath(arg0 interface{}) *gomock.Call

GetNetworkPath indicates an expected call of GetNetworkPath.

func (*MockNetworkStoreMockRecorder) ListNetworks added in v0.55.0

func (mr *MockNetworkStoreMockRecorder) ListNetworks() *gomock.Call

ListNetworks indicates an expected call of ListNetworks.

func (*MockNetworkStoreMockRecorder) NetworkExists added in v0.55.0

func (mr *MockNetworkStoreMockRecorder) NetworkExists(arg0 interface{}) *gomock.Call

NetworkExists indicates an expected call of NetworkExists.

func (*MockNetworkStoreMockRecorder) SaveNetwork added in v0.55.0

func (mr *MockNetworkStoreMockRecorder) SaveNetwork(arg0 interface{}) *gomock.Call

SaveNetwork indicates an expected call of SaveNetwork.

type MockPipeline

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

MockPipeline is a mock of Pipeline interface.

func NewMockPipeline

func NewMockPipeline(ctrl *gomock.Controller) *MockPipeline

NewMockPipeline creates a new mock instance.

func (*MockPipeline) EXPECT

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

func (*MockPipeline) Log added in v0.56.0

func (m *MockPipeline) Log(arg0 context.Context, arg1 string, arg2 api.LogType, arg3 string)

Log mocks base method.

func (*MockPipeline) NotifyError

func (m *MockPipeline) NotifyError(arg0 context.Context, arg1 string, arg2 api.ErrorType, arg3 error)

NotifyError mocks base method.

func (*MockPipeline) NotifySuccessfulRequest

func (m *MockPipeline) NotifySuccessfulRequest(arg0 context.Context, arg1 string)

NotifySuccessfulRequest mocks base method.

func (*MockPipeline) NotifyTransactionStatus

func (m *MockPipeline) NotifyTransactionStatus(arg0 context.Context, arg1, arg2, arg3 string, arg4 error, arg5 time.Time)

NotifyTransactionStatus mocks base method.

func (*MockPipeline) RequestPassphrase

func (m *MockPipeline) RequestPassphrase(arg0 context.Context, arg1, arg2 string) (string, error)

RequestPassphrase mocks base method.

func (*MockPipeline) RequestPermissionsReview

func (m *MockPipeline) RequestPermissionsReview(arg0 context.Context, arg1, arg2, arg3 string, arg4 map[string]string) (bool, error)

RequestPermissionsReview mocks base method.

func (*MockPipeline) RequestTransactionSendingReview added in v0.55.0

func (m *MockPipeline) RequestTransactionSendingReview(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string, arg6 time.Time) (bool, error)

RequestTransactionSendingReview mocks base method.

func (*MockPipeline) RequestTransactionSigningReview added in v0.55.0

func (m *MockPipeline) RequestTransactionSigningReview(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string, arg6 time.Time) (bool, error)

RequestTransactionSigningReview mocks base method.

func (*MockPipeline) RequestWalletConnectionReview

func (m *MockPipeline) RequestWalletConnectionReview(arg0 context.Context, arg1, arg2 string) (bool, error)

RequestWalletConnectionReview mocks base method.

func (*MockPipeline) RequestWalletSelection

func (m *MockPipeline) RequestWalletSelection(arg0 context.Context, arg1, arg2 string, arg3 []string) (api.SelectedWallet, error)

RequestWalletSelection mocks base method.

type MockPipelineMockRecorder

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

MockPipelineMockRecorder is the mock recorder for MockPipeline.

func (*MockPipelineMockRecorder) Log added in v0.56.0

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

Log indicates an expected call of Log.

func (*MockPipelineMockRecorder) NotifyError

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

NotifyError indicates an expected call of NotifyError.

func (*MockPipelineMockRecorder) NotifySuccessfulRequest

func (mr *MockPipelineMockRecorder) NotifySuccessfulRequest(arg0, arg1 interface{}) *gomock.Call

NotifySuccessfulRequest indicates an expected call of NotifySuccessfulRequest.

func (*MockPipelineMockRecorder) NotifyTransactionStatus

func (mr *MockPipelineMockRecorder) NotifyTransactionStatus(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

NotifyTransactionStatus indicates an expected call of NotifyTransactionStatus.

func (*MockPipelineMockRecorder) RequestPassphrase

func (mr *MockPipelineMockRecorder) RequestPassphrase(arg0, arg1, arg2 interface{}) *gomock.Call

RequestPassphrase indicates an expected call of RequestPassphrase.

func (*MockPipelineMockRecorder) RequestPermissionsReview

func (mr *MockPipelineMockRecorder) RequestPermissionsReview(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

RequestPermissionsReview indicates an expected call of RequestPermissionsReview.

func (*MockPipelineMockRecorder) RequestTransactionSendingReview added in v0.55.0

func (mr *MockPipelineMockRecorder) RequestTransactionSendingReview(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

RequestTransactionSendingReview indicates an expected call of RequestTransactionSendingReview.

func (*MockPipelineMockRecorder) RequestTransactionSigningReview added in v0.55.0

func (mr *MockPipelineMockRecorder) RequestTransactionSigningReview(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

RequestTransactionSigningReview indicates an expected call of RequestTransactionSigningReview.

func (*MockPipelineMockRecorder) RequestWalletConnectionReview

func (mr *MockPipelineMockRecorder) RequestWalletConnectionReview(arg0, arg1, arg2 interface{}) *gomock.Call

RequestWalletConnectionReview indicates an expected call of RequestWalletConnectionReview.

func (*MockPipelineMockRecorder) RequestWalletSelection

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

RequestWalletSelection indicates an expected call of RequestWalletSelection.

type MockWalletStore

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

MockWalletStore is a mock of WalletStore interface.

func NewMockWalletStore

func NewMockWalletStore(ctrl *gomock.Controller) *MockWalletStore

NewMockWalletStore creates a new mock instance.

func (*MockWalletStore) DeleteWallet added in v0.55.0

func (m *MockWalletStore) DeleteWallet(arg0 context.Context, arg1 string) error

DeleteWallet mocks base method.

func (*MockWalletStore) EXPECT

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

func (*MockWalletStore) GetWallet

func (m *MockWalletStore) GetWallet(arg0 context.Context, arg1, arg2 string) (wallet.Wallet, error)

GetWallet mocks base method.

func (*MockWalletStore) GetWalletPath added in v0.55.0

func (m *MockWalletStore) GetWalletPath(arg0 string) string

GetWalletPath mocks base method.

func (*MockWalletStore) ListWallets

func (m *MockWalletStore) ListWallets(arg0 context.Context) ([]string, error)

ListWallets mocks base method.

func (*MockWalletStore) SaveWallet

func (m *MockWalletStore) SaveWallet(arg0 context.Context, arg1 wallet.Wallet, arg2 string) error

SaveWallet mocks base method.

func (*MockWalletStore) WalletExists

func (m *MockWalletStore) WalletExists(arg0 context.Context, arg1 string) (bool, error)

WalletExists mocks base method.

type MockWalletStoreMockRecorder

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

MockWalletStoreMockRecorder is the mock recorder for MockWalletStore.

func (*MockWalletStoreMockRecorder) DeleteWallet added in v0.55.0

func (mr *MockWalletStoreMockRecorder) DeleteWallet(arg0, arg1 interface{}) *gomock.Call

DeleteWallet indicates an expected call of DeleteWallet.

func (*MockWalletStoreMockRecorder) GetWallet

func (mr *MockWalletStoreMockRecorder) GetWallet(arg0, arg1, arg2 interface{}) *gomock.Call

GetWallet indicates an expected call of GetWallet.

func (*MockWalletStoreMockRecorder) GetWalletPath added in v0.55.0

func (mr *MockWalletStoreMockRecorder) GetWalletPath(arg0 interface{}) *gomock.Call

GetWalletPath indicates an expected call of GetWalletPath.

func (*MockWalletStoreMockRecorder) ListWallets

func (mr *MockWalletStoreMockRecorder) ListWallets(arg0 interface{}) *gomock.Call

ListWallets indicates an expected call of ListWallets.

func (*MockWalletStoreMockRecorder) SaveWallet

func (mr *MockWalletStoreMockRecorder) SaveWallet(arg0, arg1, arg2 interface{}) *gomock.Call

SaveWallet indicates an expected call of SaveWallet.

func (*MockWalletStoreMockRecorder) WalletExists

func (mr *MockWalletStoreMockRecorder) WalletExists(arg0, arg1 interface{}) *gomock.Call

WalletExists indicates an expected call of WalletExists.

Jump to

Keyboard shortcuts

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