mocks

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockNode

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

MockNode is a mock of Node interface.

func NewMockNode

func NewMockNode(ctrl *gomock.Controller) *MockNode

NewMockNode creates a new mock instance.

func (*MockNode) CheckTransaction

func (m *MockNode) CheckTransaction(arg0 context.Context, arg1 *v10.Transaction) (*v1.CheckTransactionResponse, error)

CheckTransaction mocks base method.

func (*MockNode) EXPECT

func (m *MockNode) EXPECT() *MockNodeMockRecorder

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

func (*MockNode) HealthCheck

func (m *MockNode) HealthCheck(arg0 context.Context) error

HealthCheck mocks base method.

func (*MockNode) Host

func (m *MockNode) Host() string

Host mocks base method.

func (*MockNode) LastBlock

func (m *MockNode) LastBlock(arg0 context.Context) (*v1.LastBlockHeightResponse, error)

LastBlock mocks base method.

func (*MockNode) SendTransaction

func (m *MockNode) SendTransaction(arg0 context.Context, arg1 *v10.Transaction, arg2 v1.SubmitTransactionRequest_Type) (string, error)

SendTransaction mocks base method.

func (*MockNode) Stop

func (m *MockNode) Stop() error

Stop mocks base method.

type MockNodeMockRecorder

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

MockNodeMockRecorder is the mock recorder for MockNode.

func (*MockNodeMockRecorder) CheckTransaction

func (mr *MockNodeMockRecorder) CheckTransaction(arg0, arg1 interface{}) *gomock.Call

CheckTransaction indicates an expected call of CheckTransaction.

func (*MockNodeMockRecorder) HealthCheck

func (mr *MockNodeMockRecorder) HealthCheck(arg0 interface{}) *gomock.Call

HealthCheck indicates an expected call of HealthCheck.

func (*MockNodeMockRecorder) Host

func (mr *MockNodeMockRecorder) Host() *gomock.Call

Host indicates an expected call of Host.

func (*MockNodeMockRecorder) LastBlock

func (mr *MockNodeMockRecorder) LastBlock(arg0 interface{}) *gomock.Call

LastBlock indicates an expected call of LastBlock.

func (*MockNodeMockRecorder) SendTransaction

func (mr *MockNodeMockRecorder) SendTransaction(arg0, arg1, arg2 interface{}) *gomock.Call

SendTransaction indicates an expected call of SendTransaction.

func (*MockNodeMockRecorder) Stop

func (mr *MockNodeMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

type MockNodeSelector

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

MockNodeSelector is a mock of NodeSelector interface.

func NewMockNodeSelector

func NewMockNodeSelector(ctrl *gomock.Controller) *MockNodeSelector

NewMockNodeSelector creates a new mock instance.

func (*MockNodeSelector) EXPECT

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

func (*MockNodeSelector) Node

func (m *MockNodeSelector) Node(arg0 context.Context) (api.Node, error)

Node mocks base method.

func (*MockNodeSelector) Stop

func (m *MockNodeSelector) Stop()

Stop mocks base method.

type MockNodeSelectorMockRecorder

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

MockNodeSelectorMockRecorder is the mock recorder for MockNodeSelector.

func (*MockNodeSelectorMockRecorder) Node

func (mr *MockNodeSelectorMockRecorder) Node(arg0 interface{}) *gomock.Call

Node indicates an expected call of Node.

func (*MockNodeSelectorMockRecorder) Stop

Stop indicates an expected call of Stop.

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

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

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

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

RequestTransactionReview indicates an expected call of RequestTransactionReview.

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

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

GetWallet indicates an expected call of GetWallet.

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