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.
Package mocks is a generated GoMock package.
Index ¶
- type MockNetworkStore
- func (m *MockNetworkStore) DeleteNetwork(arg0 string) error
- func (m *MockNetworkStore) EXPECT() *MockNetworkStoreMockRecorder
- func (m *MockNetworkStore) GetNetwork(arg0 string) (*network.Network, error)
- func (m *MockNetworkStore) GetNetworkPath(arg0 string) string
- func (m *MockNetworkStore) ListNetworks() ([]string, error)
- func (m *MockNetworkStore) NetworkExists(arg0 string) (bool, error)
- func (m *MockNetworkStore) SaveNetwork(arg0 *network.Network) error
- type MockNetworkStoreMockRecorder
- func (mr *MockNetworkStoreMockRecorder) DeleteNetwork(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkStoreMockRecorder) GetNetwork(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkStoreMockRecorder) GetNetworkPath(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkStoreMockRecorder) ListNetworks() *gomock.Call
- func (mr *MockNetworkStoreMockRecorder) NetworkExists(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkStoreMockRecorder) SaveNetwork(arg0 interface{}) *gomock.Call
- type MockNode
- func (m *MockNode) CheckTransaction(arg0 context.Context, arg1 *v10.Transaction) (*v1.CheckTransactionResponse, error)
- func (m *MockNode) EXPECT() *MockNodeMockRecorder
- func (m *MockNode) HealthCheck(arg0 context.Context) error
- func (m *MockNode) Host() string
- func (m *MockNode) LastBlock(arg0 context.Context) (*v1.LastBlockHeightResponse, error)
- func (m *MockNode) SendTransaction(arg0 context.Context, arg1 *v10.Transaction, ...) (string, error)
- func (m *MockNode) Stop() error
- type MockNodeMockRecorder
- func (mr *MockNodeMockRecorder) CheckTransaction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) HealthCheck(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) Host() *gomock.Call
- func (mr *MockNodeMockRecorder) LastBlock(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) SendTransaction(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) Stop() *gomock.Call
- type MockNodeSelector
- type MockNodeSelectorMockRecorder
- type MockPipeline
- func (m *MockPipeline) EXPECT() *MockPipelineMockRecorder
- func (m *MockPipeline) NotifyError(arg0 context.Context, arg1 string, arg2 api.ErrorType, arg3 error)
- func (m *MockPipeline) NotifySuccessfulRequest(arg0 context.Context, arg1 string)
- func (m *MockPipeline) NotifyTransactionStatus(arg0 context.Context, arg1, arg2, arg3 string, arg4 error, arg5 time.Time)
- func (m *MockPipeline) RequestPassphrase(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *MockPipeline) RequestPermissionsReview(arg0 context.Context, arg1, arg2, arg3 string, arg4 map[string]string) (bool, error)
- func (m *MockPipeline) RequestTransactionReview(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string, arg6 time.Time) (bool, error)
- func (m *MockPipeline) RequestWalletConnectionReview(arg0 context.Context, arg1, arg2 string) (bool, error)
- func (m *MockPipeline) RequestWalletSelection(arg0 context.Context, arg1, arg2 string, arg3 []string) (api.SelectedWallet, error)
- type MockPipelineMockRecorder
- func (mr *MockPipelineMockRecorder) NotifyError(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockPipelineMockRecorder) NotifySuccessfulRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineMockRecorder) NotifyTransactionStatus(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockPipelineMockRecorder) RequestPassphrase(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPipelineMockRecorder) RequestPermissionsReview(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockPipelineMockRecorder) RequestTransactionReview(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockPipelineMockRecorder) RequestWalletConnectionReview(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPipelineMockRecorder) RequestWalletSelection(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockWalletStore
- func (m *MockWalletStore) EXPECT() *MockWalletStoreMockRecorder
- func (m *MockWalletStore) GetWallet(arg0 context.Context, arg1, arg2 string) (wallet.Wallet, error)
- func (m *MockWalletStore) ListWallets(arg0 context.Context) ([]string, error)
- func (m *MockWalletStore) SaveWallet(arg0 context.Context, arg1 wallet.Wallet, arg2 string) error
- func (m *MockWalletStore) WalletExists(arg0 context.Context, arg1 string) (bool, error)
- type MockWalletStoreMockRecorder
- func (mr *MockWalletStoreMockRecorder) GetWallet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) ListWallets(arg0 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) SaveWallet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) WalletExists(arg0, arg1 interface{}) *gomock.Call
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
func (m *MockNetworkStore) EXPECT() *MockNetworkStoreMockRecorder
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 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 ¶
HealthCheck 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.
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 ¶
func (m *MockNodeSelector) EXPECT() *MockNodeSelectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (mr *MockNodeSelectorMockRecorder) Stop() *gomock.Call
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 ¶
func (m *MockPipeline) EXPECT() *MockPipelineMockRecorder
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 ¶
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 ¶
func (m *MockWalletStore) EXPECT() *MockWalletStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWalletStore) ListWallets ¶
func (m *MockWalletStore) ListWallets(arg0 context.Context) ([]string, error)
ListWallets mocks base method.
func (*MockWalletStore) SaveWallet ¶
SaveWallet mocks base method.
func (*MockWalletStore) WalletExists ¶
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.