mock

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) AddExternalWalletAsset

func (m *MockClient) AddExternalWalletAsset(ctx context.Context, walletID, assetID string, msg *client.AddExternalWalletAssetMsg) (*client.ExternalWalletAsset, error)

AddExternalWalletAsset mocks base method.

func (*MockClient) CancelTransaction

func (m *MockClient) CancelTransaction(ctx context.Context, txID string) error

CancelTransaction mocks base method.

func (*MockClient) CreateExternalWallet

func (m *MockClient) CreateExternalWallet(ctx context.Context, msg *client.CreateExternalWalletMsg) (*client.ExternalWallet, error)

CreateExternalWallet mocks base method.

func (*MockClient) CreateTransaction

CreateTransaction mocks base method.

func (*MockClient) CreateVaultAccount

func (m *MockClient) CreateVaultAccount(ctx context.Context, msg *client.CreateVaultAccountMsg) (*client.VaultAccount, error)

CreateVaultAccount mocks base method.

func (*MockClient) CreateVaultAccountAsset

func (m *MockClient) CreateVaultAccountAsset(ctx context.Context, vaultID, assetID string) (*client.CreateVaultAssetResponse, error)

CreateVaultAccountAsset mocks base method.

func (*MockClient) DeleteExternalWallet

func (m *MockClient) DeleteExternalWallet(ctx context.Context, walletID string) error

DeleteExternalWallet mocks base method.

func (*MockClient) DeleteExternalWalletAsset

func (m *MockClient) DeleteExternalWalletAsset(ctx context.Context, walletID, assetID string) error

DeleteExternalWalletAsset mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetExternalWallet

func (m *MockClient) GetExternalWallet(ctx context.Context, walletID string) (*client.ExternalWallet, error)

GetExternalWallet mocks base method.

func (*MockClient) GetExternalWalletAsset

func (m *MockClient) GetExternalWalletAsset(ctx context.Context, walletID, assetID string) (*client.ExternalWalletAsset, error)

GetExternalWalletAsset mocks base method.

func (*MockClient) GetTransaction

func (m *MockClient) GetTransaction(ctx context.Context, txID string) (*client.TransactionMsg, error)

GetTransaction mocks base method.

func (*MockClient) GetVaultAccount

func (m *MockClient) GetVaultAccount(ctx context.Context, vaultAccountID string) (*client.VaultAccount, error)

GetVaultAccount mocks base method.

func (*MockClient) GetVaultAccountAssetBalance

func (m *MockClient) GetVaultAccountAssetBalance(ctx context.Context, vaultID, assetID string) (*client.VaultAsset, error)

GetVaultAccountAssetBalance mocks base method.

func (*MockClient) HideVaultAccount

func (m *MockClient) HideVaultAccount(ctx context.Context, vaultAccountID string) error

HideVaultAccount mocks base method.

func (*MockClient) ListUsers

func (m *MockClient) ListUsers(ctx context.Context) ([]*client.UserMsg, error)

ListUsers mocks base method.

func (*MockClient) ListVaultAccountAssetAddresses

func (m *MockClient) ListVaultAccountAssetAddresses(ctx context.Context, vaultID, assetID string) ([]*client.VaultAccountAssetAddress, error)

ListVaultAccountAssetAddresses mocks base method.

func (*MockClient) UnhideVaultAccount

func (m *MockClient) UnhideVaultAccount(ctx context.Context, vaultAccountID string) error

UnhideVaultAccount mocks base method.

func (*MockClient) UpdateVaultAccount

func (m *MockClient) UpdateVaultAccount(ctx context.Context, vaultAccountID string, msg *client.UpdateVaultAccountMsg) error

UpdateVaultAccount mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) AddExternalWalletAsset

func (mr *MockClientMockRecorder) AddExternalWalletAsset(ctx, walletID, assetID, msg interface{}) *gomock.Call

AddExternalWalletAsset indicates an expected call of AddExternalWalletAsset.

func (*MockClientMockRecorder) CancelTransaction

func (mr *MockClientMockRecorder) CancelTransaction(ctx, txID interface{}) *gomock.Call

CancelTransaction indicates an expected call of CancelTransaction.

func (*MockClientMockRecorder) CreateExternalWallet

func (mr *MockClientMockRecorder) CreateExternalWallet(ctx, msg interface{}) *gomock.Call

CreateExternalWallet indicates an expected call of CreateExternalWallet.

func (*MockClientMockRecorder) CreateTransaction

func (mr *MockClientMockRecorder) CreateTransaction(ctx, msg interface{}) *gomock.Call

CreateTransaction indicates an expected call of CreateTransaction.

func (*MockClientMockRecorder) CreateVaultAccount

func (mr *MockClientMockRecorder) CreateVaultAccount(ctx, msg interface{}) *gomock.Call

CreateVaultAccount indicates an expected call of CreateVaultAccount.

func (*MockClientMockRecorder) CreateVaultAccountAsset

func (mr *MockClientMockRecorder) CreateVaultAccountAsset(ctx, vaultID, assetID interface{}) *gomock.Call

CreateVaultAccountAsset indicates an expected call of CreateVaultAccountAsset.

func (*MockClientMockRecorder) DeleteExternalWallet

func (mr *MockClientMockRecorder) DeleteExternalWallet(ctx, walletID interface{}) *gomock.Call

DeleteExternalWallet indicates an expected call of DeleteExternalWallet.

func (*MockClientMockRecorder) DeleteExternalWalletAsset

func (mr *MockClientMockRecorder) DeleteExternalWalletAsset(ctx, walletID, assetID interface{}) *gomock.Call

DeleteExternalWalletAsset indicates an expected call of DeleteExternalWalletAsset.

func (*MockClientMockRecorder) GetExternalWallet

func (mr *MockClientMockRecorder) GetExternalWallet(ctx, walletID interface{}) *gomock.Call

GetExternalWallet indicates an expected call of GetExternalWallet.

func (*MockClientMockRecorder) GetExternalWalletAsset

func (mr *MockClientMockRecorder) GetExternalWalletAsset(ctx, walletID, assetID interface{}) *gomock.Call

GetExternalWalletAsset indicates an expected call of GetExternalWalletAsset.

func (*MockClientMockRecorder) GetTransaction

func (mr *MockClientMockRecorder) GetTransaction(ctx, txID interface{}) *gomock.Call

GetTransaction indicates an expected call of GetTransaction.

func (*MockClientMockRecorder) GetVaultAccount

func (mr *MockClientMockRecorder) GetVaultAccount(ctx, vaultAccountID interface{}) *gomock.Call

GetVaultAccount indicates an expected call of GetVaultAccount.

func (*MockClientMockRecorder) GetVaultAccountAssetBalance

func (mr *MockClientMockRecorder) GetVaultAccountAssetBalance(ctx, vaultID, assetID interface{}) *gomock.Call

GetVaultAccountAssetBalance indicates an expected call of GetVaultAccountAssetBalance.

func (*MockClientMockRecorder) HideVaultAccount

func (mr *MockClientMockRecorder) HideVaultAccount(ctx, vaultAccountID interface{}) *gomock.Call

HideVaultAccount indicates an expected call of HideVaultAccount.

func (*MockClientMockRecorder) ListUsers

func (mr *MockClientMockRecorder) ListUsers(ctx interface{}) *gomock.Call

ListUsers indicates an expected call of ListUsers.

func (*MockClientMockRecorder) ListVaultAccountAssetAddresses

func (mr *MockClientMockRecorder) ListVaultAccountAssetAddresses(ctx, vaultID, assetID interface{}) *gomock.Call

ListVaultAccountAssetAddresses indicates an expected call of ListVaultAccountAssetAddresses.

func (*MockClientMockRecorder) UnhideVaultAccount

func (mr *MockClientMockRecorder) UnhideVaultAccount(ctx, vaultAccountID interface{}) *gomock.Call

UnhideVaultAccount indicates an expected call of UnhideVaultAccount.

func (*MockClientMockRecorder) UpdateVaultAccount

func (mr *MockClientMockRecorder) UpdateVaultAccount(ctx, vaultAccountID, msg interface{}) *gomock.Call

UpdateVaultAccount indicates an expected call of UpdateVaultAccount.

Jump to

Keyboard shortcuts

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